Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.

Log in or register to post/reply in the forum.

Monitoring PakBus/TCP Clients Connection

luisfgranada Jul 9, 2022 07:28 PM


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?


nsw Jul 15, 2022 11:06 AM

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.

luisfgranada Jul 17, 2022 01:05 PM

Thanks nsw. The instruction "TCPActiveConnections" gives me the information I was looking for.

Log in or register to post/reply in the forum.