LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make multiple telnet connections in Labview server ?

Dear National / Community,
 
 
I need to know if the following scenario is possible, in labview 7.1.1 (Windows XP):
 
A Labview telnet server, that can make individual point to point connections with multiple clients, up to 9 users.
The program needs to have the option to process and decode al the data from all clients instantly, preferably paralel-processing.
 
Is this possible, and is it possible to let all clients run at the same portnumber as the server is ?
 
All comments are welcome !
 
Kind regards,
 
Ronald / The Netherlands
 
 
 
0 Kudos
Message 1 of 2
(3,178 Views)
Hi Ronald,
 
Yes, I believe it is possible to create such an application. You would need to use the regular TCP/IP functions with in LabVIEW to accept connections from Telnet clients and react to them.
 
More information on the TCP/IP functions: Basic TCP/IP Communication in LabVIEW
 
You can connect to a TCP/IP Server running on the same machine using the local loopback, enter either enther localhost or 127.0.0.1 as the IP adres.
 
A good example that ships with LabVIEW is the: 'Multiple Connections - Server.vi' with the Multiple Connections - Client 1 and Client 2 VIs. you can find them by searching the NI Example finder with keyword: 'tcp/ip'
 
Hope this helps,
 
Karsten
NI
0 Kudos
Message 2 of 2
(3,166 Views)