06-23-2011 03:11 PM
i wanted to connect two PC's using lan via TCP protocol. I run simple data client and simple data server on my PC. But when I open simple data server on my PC and simple data client on other PC then error 63 occurs which I think is serial overflow buffer error.tell me what i'll do. is it necessary to configure TCP listen by double clicking it and give some values to it??? i am new at networking so cant debug the error.plz tell me what to do????Also what changes do I need in VI server????Which port number I have to enter???
Solved! Go to Solution.
06-23-2011 06:48 PM
Serial buffer overflow makes no sense because you are doing anything with the serial port. Look at the error message again and you'll see there is a second possibility of "The network connection was refused by the server." That seems likely.
Did you start running the Data Server VI first like the instructions on the front panel say? If the server is not running, then there is nothing there to accept the connection.
06-23-2011 07:41 PM
06-23-2011 07:42 PM
06-23-2011 07:45 PM
06-23-2011 08:17 PM
06-23-2011 08:36 PM
06-24-2011 12:23 AM
Thanks to all of u for this quick response. Actually I m living in my university hostel and all the PC's here are connected to LAN and now i want to make a connection with one particular computer (which of course has a particular IP) on the network. but when i do so the error 63 appeared on my screen which said connection is not established. I first ran simple data server and then my other friend ran simple data client but I got the same error again. Do I need some kind of configuration for TCP listener????I m attaching the pictures of TCP listener and vi server.plz tell me where i am wrong!!!thanks. also i dont change any of the default settings on pc exceprt that i just uncheck ACTIVEX and check tcp protocol. me and my freind have same port settings i.e 3363 on vi server and 2055 on front panel of simpledataserver.vi.he wrote my ip address instead of local host on simpledataclinet.vi. w8ing
06-24-2011 12:31 AM
attachements
06-24-2011 01:26 AM - edited 06-24-2011 02:58 AM
The VI server settings (your second picture) are irrelevant for this.
Run the Server program using a reasonable server port. Showing or configuring the front panel of TCP listen is not needed, this is NOT an express VI. All the important settings need to be set in the calling program: the server VI that you should start running first.
I assume you are using the Examples from the example finder: "simple data client.vi" and "simple data server.vi", for example
As a first experiment, run both (client and server) on the same computer using "localhost" as address in the client. (all other values at the default)
In a next experiment, run the client on the other computer and change the address to the IP address of the server computer. Does this still work? If it does not work, turn off the windows firewall and try again.
See how far you get.