BigAngryHillMan Posted June 15, 2011 Report Share Posted June 15, 2011 I have a telnet session where the telnet connection handle is held in a functional variable to allow the telnet session to remain open and allow several VI(s) to use the same open telnet connection, i.e. One VI opens the telnet session and configures the device for test. A number of VIs use the open telnet session to run tests. Finally a VI closes the telnet session. It is written this way so the VI(s) can be used in Test Stand and stand alone Labview. The problem I have is that if there is a delay between running any of the VI(s) the telnet session seems to close without warning and this only become apparent when the next VI tries to access the telnet connection. Any suggestions on how to stop the telnet session closing automatically when there are no active VI(s) using the telnet session. Quote Link to comment
crelf Posted June 15, 2011 Report Share Posted June 15, 2011 Are you working locally? If so, this might help. Quote Link to comment
BigAngryHillMan Posted June 16, 2011 Author Report Share Posted June 16, 2011 No this is a remote connection from a window PC to a Linux device. Quote Link to comment
dannyt Posted June 16, 2011 Report Share Posted June 16, 2011 No this is a remote connection from a window PC to a Linux device. This thread might be of interest to you it covers TCP/IP error 66 & 56 disconnection errors and some suggestion on how to overcome or deal with them cheers Dannyt Quote Link to comment
BigAngryHillMan Posted June 16, 2011 Author Report Share Posted June 16, 2011 Many thanks, Now I understand the reason I can rearrange things to avoid this situation. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.