Jump to content

Telnet session disconnecting without warning .

Recommended Posts

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,


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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.