LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What should I use tcp/ip, telnet, datasocket, etc?

I'm trying to create an application that can communicate with another system That is the application will be running on some windows machine and I want to be able to communicate with another system (running linux). I want to be able to send it commands and do basic memory reads and writes on that system. So my windows machine will act as the controller and the other box will execute the commands and return data. I'm a bit confused as to what transportation protocol I should be using for this application. Should I use tcp/ip? datasockets? telnet? or something else? Any help would be greatly appreciated.
0 Kudos
Message 1 of 4
(3,589 Views)
TCP/IP would be best for this. DataSocket is designed for easily passing data of any data type between applications. It doesn't do as well in a controlling server/client system.

Also, TCP/IP libraries will be available for any compiler on Linux.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,584 Views)
You may want to concider the using of Telnet: Linux's Telnet on one machine and LV Telnet on the other machine. Linux has its own Telnet but you have to buy the NI Internet Toolkit to get the LV Telnet VIs.
It may save you a lot of time as you do not need to develop the TCP/IP client for Linux machine.
0 Kudos
Message 3 of 4
(3,544 Views)
CVI 7.1 now includes the Internet Libraries as part of the Professional package. This includes telnet client functions. You can download an eval version of CVI 7.1 from here to see if the functions fit your needs.

Hope this helps
Bilal Durrani
NI
0 Kudos
Message 4 of 4
(3,525 Views)