10-21-2008 02:47 PM
I am running the example VIs Simple Data Client and Simple Data Server. I have two computers connected via ethernet with statically defined IP addresses. Both have Windows firewalls turned off. I type in the IP address of the computer acting as Server in the "Address" field and use the default port of "2055".
If I run the Client on Computer 1 and the Server on Computer 2, I can see the received data on the Client computer. However, if I run the Client on Computer 2 and the Server on Computer 1, I do not get any data and end up with an error 56.
Is there some setting I am missing that would cause this only to work one way?
Thanks.
10-22-2008 12:16 AM
10-22-2008 03:38 AM
Hi dave,
Just the check the time out or the time out what you have specified is not enough for te opration to be completed.
There may a cause of either the reponse is fast in one of the PC so whenever you are running the server on Computer 2 the clinet is waiting for the server to send the data but when you are running the Server on the Computer1 the Clinet would have alreday cmpleted the opreation. So there my be miss match in time. Once you check your time out or increase or decrease the timeouts prallelly in both the server and client. May solve the problem.
10-22-2008 05:19 AM
Hi Dave
When you changed the server and client around, make sure you've entered the IP address of the (new) server in the client vi. An incorrect IP address will give you an error 56. You have have forgotten to change this and the client is trying to connect with the client.
Regards,
JChec
10-22-2008 07:28 AM
I have not seen a question like this in the forums.
Also, I realize that the IP address changes depending on which PC you are using. This is not the problem, because if I type in the wrong IP address I get a different error - overflow - which is to be expected.
10-22-2008 08:00 AM
ok, the client is trying to open a connection with the server at the IP address you typed in, so that error should occur after 60 seconds of running the client if it hasn't been able to open a connection with the server. (unless u've changed the timeout in the block diagram). so the client is not seeing the server, but i'm sure you might know that already. how are the 2 computers connected, with a straight cross over cable? what are your IP addresses of the computers?
I've run the examples on my side to see when the error comes up, so far it's only been when I've typed in an address other than my server address
10-22-2008 09:19 AM
10-22-2008 09:41 AM
go into tools>>options. in here, select VI Server: configuration. If this is enable, disable this and try
JChec
10-22-2008 09:42 AM
10-22-2008 09:52 AM