Is there a way to monitor PakBus/TCP Clients Connections that are set on Device Configuration Utility (Network Services Tab) for a CR1000X?
I've been reading CRBasic's Help and it looks like you can do this if you use TCPOpen instruction, but I can't find anything about being able to monitor the connection if it is set in Device Config.
Basically, I want to store a variable in a table that tells me if the PakBus/TCP Client Connection has been successful.
What is the a difference of setting the PakBus/TCP Client connection in Device Config or in CRBasic? Is it one better than the other?
As this is a PakBus connection you are using through the TCP connection, the simplest way to do this is use the PakBus instruction "Route". Have a look in CRBasic Help on this instruction.
I think this maybe what you are looking for.
Thanks nsw. The instruction "TCPActiveConnections" gives me the information I was looking for.