LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP communication fails

I have a VI that communicates to six devices simultaneously over Ethernet. Three of these devices are on a serial port server so the PC recognizes them as serial ports and I use Visa Serial for this communication. The other connection is to a PLC. The problem is with the two watlow controllers connected via ethernet. After a couple hours of continuous run, the information from the Watlows gets garbled or fails completely while my other devices communicate just fine. If I stop and restart Labview the communications come back properly.

 

The program opens three TCP connections each to a different IP Address. then goes into two while loops. One while loop is faster and talks with the PLC. The other while loop is slower and talking to the Watlows. I use the same remote ports for all three and asked the customer to change them to be 502, 503, 504 but this caused an immediate loss of communications.

 

Anybody have any ideas? These are Watlow EZ-Zone controllers.

0 Kudos
Message 1 of 3
(2,901 Views)

Hi Technics,

 

Did you try to use the Process Monitor from Microsoft to see why the communication hangs up ? There are many more programs that can be helpful, if you search for "procman" or "procmon. with those programs you can monitor the system and see waht goes wrong. also if your program uses NI-VISA. you can use NI spy to monitor the system. 

 

Thanks and have a great day. 

 

0 Kudos
Message 2 of 3
(2,849 Views)
Thank you for your reply.
0 Kudos
Message 3 of 3
(2,842 Views)