Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5361

TCP client disconnects immediately

$
0
0

Hello again, everyone.

 

There are a lot of really good threads on the forum for TCP clients.  I too am making one that connects to a temperature chamber which is the TCP server.  This chamber talks MODBUS.

 

Starting with this excellent thread's source code as reference, I was able to connect to the chamber and successfully send and receive packets.

 

That was last week.  Smiley Surprised

 

Today, oddly, immediately after the call to ConnectToTCPServer() succeeds, its callback function triggers with the TCP_DISCONNECT event type.

 

To double check, I've opened up the chamber's controller software, which connects to the server IP correctly, no errors.  So I know the chamber is still up and alive.  The computer is still functioning.

 

What else can I do?


Viewing all articles
Browse latest Browse all 5361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>