LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Open Connection Times Out

I am trying to send data between a server and a PC that are networked together using TCP/IP in LabView, and the TCP Open Connection times out. I have a listener at the server and the open connection at the PC. I am using the server's IP address as the address for the TCP open connection and am using the same port # on each side. The two are connected together through a network hub and are the only two computers connected in this network. They each have a different IP address, and both computers show that they are connected to the network. Does anyone have any suggestions for things I should check on the network properties and/or LabView setup? I am not that familiar with setting up a network; someone else actually set it up, but they are not familiar with LabView and can't help me with the Open Connection timeout. Thanks.
0 Kudos
Message 1 of 4
(2,898 Views)
What is your OS? Maybe the windows firewall is enabled? Can you ping the server from the client PC?
0 Kudos
Message 2 of 4
(2,894 Views)
The server is running Server 2003, and the PC is running XP. How do I ping the server? And do I need to somehow set up the server to trust the PC in order to establish a connection? Thanks.
0 Kudos
Message 3 of 4
(2,892 Views)
Hi mhester,

Just to set your expectations first; LabVIEW is officially not supported on Windows Server 2003. However, it might work anyway. Therefore, check these few things to start with:

  1. Ping the server from the client by opening the Command Prompt ("Start >> Run >> cmd") on the client and type "ping xxx.xxx.xxx.xxx" where the 'x's represent the IP address of the server. You will then see either four replies or timeouts. If you get timeouts, something is blocking your network connection (firewall etc.).


  2. If you do get the replies from the ping, then try to run the shipping examples "Simple Data Server.vi" and "Simple Data Client.vi".

If you still get a timeout, please try to replace the Windows Server 2003 machine with a Windows XP machine an perform the above two steps again. Does it work now?

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 4
(2,868 Views)