LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 56 occurred at TCP Read in TCP Comm.vi

Hi,

 

I am using a wireless radio (serial device server) to communicate to a device with serial comm (RS485) through LabVIEW. I am using a TCP connection for communication. Every now and then I get an Error 56 while trying to read from the device. I am not able resolve this problem. The error sometimes goes away if I power cycle the radio.

 

Any help will be appreciated.

 

Thanks.

DP

0 Kudos
Message 1 of 4
(3,754 Views)
Error 56 is a timeout error. Can you give details like the time out you have set and is there a proper data flow in the buffer?
0 Kudos
Message 2 of 4
(3,739 Views)
0 Kudos
Message 3 of 4
(3,738 Views)

I have a timeout of 20 secs and I am only reading 1 byte. I also found out that the radio I am using has for some reason more than one ip addresses. If I change the ip address (I am using static ip address) the previous addresses remain live too. Is this possible? Can this cause this problem?

 

DP

0 Kudos
Message 4 of 4
(3,716 Views)