Bobillier Posted February 18, 2021 Report Posted February 18, 2021 Hi 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 ? Quote
Rolf Kalbermatter Posted March 1, 2021 Report Posted March 1, 2021 What is that icon with the carriage return/line feed doing? Any local specific code in there? If your other side expects a carriage return, linefeed or both together specifically and just ignores other commands you could get similar behaviour. Quote
Antoine Chalons Posted March 2, 2021 Report Posted March 2, 2021 7 hours ago, Rolf Kalbermatter said: What is that icon with the carriage return/line feed doing? It comes from OpenG, see here : Quote
Rolf Kalbermatter Posted March 2, 2021 Report Posted March 2, 2021 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! Quote
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.