LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

telnet library: asynchronous read and write

I need control a device using the telnet protocol. It sends its logging messages asynchronous and I need to send commands to to setup it for measurements. There is no prompt, where it is waiting for commands. Therefore I can't use "Telnet Read Until".

My idea is now to start a thread with a loop calling   "Telnet Read" and sending the commands from the main thread. Is multithreading in that way supported by CVIs telnet library ?

0 Kudos
Message 1 of 2
(3,522 Views)

Hi mkossmann,

 

you can use multithreading in CVI as in native C.

 

When your target does not send any starting comment, I guess your idea could be a good way to implement the communication in CVI.

 

Regards,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 2 of 2
(3,462 Views)