LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error in Telnet Write

Hi all,

 

I am getting an error 66 while writing the data over telnet connection. this error is very random and I am not able to find the root cause for the same.

 

If any one can suggest?

 

 

 

0 Kudos
Message 1 of 6
(3,240 Views)
Where is the device that you are connecting to? What kind of device is it?

Error 66 is a type of timeout error. Specifically, it means the device you communicating with has timed out and closed the connect tion from its end.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,229 Views)

Hi  Mike,

The device is a type of functional dispaly unit used in locomotives. the device is connected to host machine(Windows PC) using ethernet (RJ45).

 

I have given 5000ms as a timeout for writing the data and I am checking for the error there , in case of error occurs i am still trying to write the same data for next three iterations after that I am closing the connections.

 

some times this connection works fine for me but the error was so random I am not able to debug it probperly.

 

 

Thanks

Pankaj

0 Kudos
Message 3 of 6
(3,207 Views)
How far apart are the things on the network? How much other traffic is there? Make you timeouts longer, like several seconds.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,186 Views)

The distance between host and client machine is nearly 30ft. the traffice will be high over he LAN as it's not a local lan.

I tried to giving timeout upto 20sec and still was getting an error 56.

 

0 Kudos
Message 5 of 6
(3,156 Views)
Then put in retries. If you get a 56, retry the interaction.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,136 Views)