LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 56 in Telnet Read

Hi!

Does anybody know why I get error 56 with Telnet Read function even connection is workin fine and I can receive messages trough Telnet? I have tryed to use Line read and normal mode. With normal mode i have use bytes to read values, which are same as send data or even smaller than sended data, but always I get error 56. After error 56 apperars, sended message from Telnet Read buffer is read to my VI and everything works correctly. Problem in this is that I would like to error handler to tell user when connection realy doesn't work, but now error 56 comes even everything works fine.

Thanks for all help I can get.



0 Kudos
Message 1 of 4
(3,773 Views)
Using Labview 8.5, XP, Telnet Line Client, I get the following error 56, TCP Read in Telnet Buffered Read.vi->Telnet Read.vi:3->Telnet Line Client.vi.
 
I looked up this error which looks to be a Networking error:  56 The network operation exceeded the user-specified or system time limit. 
The data does seem to return properly but this has been an ongoing issue with previous Telnet clients we are using.


0 Kudos
Message 2 of 4
(3,632 Views)
From what I can gather this is a warning not an error.  There is a balancing act that needs to be done between number of bytes, timeout, and mode of the Telnet session. 


Message 3 of 4
(3,614 Views)
You will get a timeout error if the number of bytes you specify does not come back in your timeout period.  So, if you request 100 bytes knowing only 30 will come back, you will still get a timeout error.
Message 4 of 4
(3,612 Views)