Sending signal/text from Linux Machine to Labview in Window -
currently i'm developing data acquisition program experiment in c++ linux based machine (ubuntu), have many vis in labview programmed in windows control instruments of experiment (motors, signal generator..). purpose have 2-way communication between 2 pc, linux ask vis executed, , when it's finished, send signal linux machine. questions are:
- can send signal or command labview in windows linux (terminal, , can implemented c code) , vice versa? how?
- tcp labview solution? or should try set inter-pc "talking" through serial communication (which easy setup physically)?
the best (also easiest) way implement tcp-based client-server communication (tcp ensure data lossless. when using other mechanisms udp or serial should make sure commands received correctly).
at labview site, have tcp listener (server) listen commands linux machine @ specified port.
upon command reception, labview code can work , reply same tcp connection.
this article question: https://decibel.ni.com/content/docs/doc-9131
Comments
Post a Comment