LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I listen to a network connection to see if it is busy?

I have a labVIEW program that is connected to a PLC through modbus.  The PLC that I am using is an AutomationDirect 205 with a 250-1 CPU.  The maximum wait time for any input to the PLC is very short.  So when the wait time is up, the PLC closes the connection.  I am trying to maintain this connection by sending the PLC an arbitrary bit.
My program was working until I put this bit in.  Now when it reaches the point to send that bit, I get this error - Error 57 occurred at TCP Read in MB Ethernet Receive.vi->MB Ethernet Master Query.vi->WebbTest.vi
It gives a possible reason that the network connection is busy.
Can I put in a listener that can tell if the connection is busy or not so I am able to send that bit?
Ron Deavers, CLD
0 Kudos
Message 1 of 1
(2,557 Views)