Jump to content

Reset Low level TCP connection on LV2018


Recommended Posts


Today i have one problem with simple TCP client connexion on one serveur. My test program is very simple: Open connexion, Send order, wait reply and close connexion.

It work few day correctly, but today it bug and i always obtein error 56 when i run it.


My server is ok because i have test in the same time with non LV program and with the same program on LV2011 and all run correctly.

The only way is to restart LV2018 to un lock situation., but it's a bit strong as solution.

Is there a way to avoid that and find a soft way to identity the blocking point  and reset low level tcp connexion ?

Link to comment
  • 2 weeks later...
2 hours ago, Antoine Chalons said:

It comes from OpenG, see here :


Ahhh I see, that one had however no string input at that point.

But now it's important to know on which platform this executes!!

I don't think this VI is a good method to use in implementing a protocol driver, given LabVIEWs multiplatform nature. The appended EOL will depend on the platform this code runs, while your device you are talking with most likely does not care if it is contacted by a program running on Windows, Mac or Linux but simply expects a specific EOL. Any other EOL is bound to cause difficulties! 

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.