01-26-2009 03:27 AM
Hi, i have build a measurmentsystem with Schneider Elektric devices. All kinds of elektrical data are measured by a powermeter PM710. This device is coupled with the Ethernet gateway EGX100 with RS485. This gateway at his turn is coupled with the internal network. When i am trying to get the values out of this gateway i get an error 63: Possible reason(s):
LabVIEW: Serial port receive buffer overflow.
=========================
LabVIEW: The network connection was refused by the server. For TCP/IP, make sure the server is running and listening on the port you are trying to use. Firewalls can also cause a server to refuse a connection. For VI Server, make sure you have enabled VI Server from Tools>>Options>>VI Server:Configuration.
How can i fix this problem? I have added a jpeg from my program
01-26-2009 04:06 AM
Hi There
Move the TCP Open function to the outside of the while-loop and try again.
01-26-2009 04:15 AM
01-26-2009 04:23 AM - edited 01-26-2009 04:24 AM
Hi stefvg,
as Chris already said, you should open the connection outside the loop. Now you open a new connection every iteration, but you close only one after stopping the loop. Where do you get the error? You should also connect the error from the open TCP/IP function to see if this runs successful.
Mike
01-26-2009 04:26 AM
I've already changed that, but that didn't help. My error is in the "open-block"
in attatchment my new vi
01-26-2009 04:31 AM - edited 01-26-2009 04:32 AM
Hi stefvg,
are you sure you use the correct remote adress and the correct port? how do you insert the adress? Sorry, i saw it now. Can you ping your device? Are you in the correct subnet?
Mike
01-26-2009 04:37 AM
01-26-2009 04:42 AM - edited 01-26-2009 04:42 AM
You don't need the VI server configuration to talk to a device. You only need that for VI server functionality, but in this case you don't need the TCP functions.
What you need to know to establish a TCP connection to a device is the IP address of the device and the port it listens on. Without that you won't be able to connect.
01-26-2009 04:52 AM
01-26-2009 05:23 AM
I've found the remote port after all. Now i dont get an error anymore in this block, but now i get an error in my ehternet master query vi. I get error 56 occurred at TCP Read in MB Ethernet Receive.vi:2->MB Ethernet Master Query.vi:1->registers uitlezen.vi
Possible reason(s):
LabVIEW: The network operation exceeded the user-specified or system time limit.
How can i fix this? I've already tried to change my wait time but this did not help.