Communication with a TCP Device

Unfortunately, the TCP Device Driver is extremely basic, and only good for sending strings back and forth.
If you want more complex communication you may need to do this via scripting, or if there are other 3rd part modules that can be used on the exchange.

I found this out on a thread from a while back here:

Worth noting if you do go down the scripting route, make sure you use the Jython Java TCP socket module and not the built-in python socket, as it is filled with memory leaks.

3 Likes