Runtime diagnostics and error reporting
- Last UpdatedAug 19, 2024
- 1 minute read
For each data source connection, Gateway Communication Driver provides a read-only string item to each connected client called:
$SYS$GatewayConnectionStatusString
To each client, this item functions like other items, just under the topic or device group level. It indicates whether the Gateway Communication Driver has established a successful connection to the configured data source and topic (if any) as follows:
-
Connected
-
Disconnected
Another item, called $SYS$GatewayConnectionStatus, is a Boolean that reads True when connected and False when disconnected.
-
In the case of a DDE/SuiteLink data source, the connection is to an application and a topic.
-
In the case of an ArchestrA data source, the connection is to a Platform through Message Exchange.
-
In the case of an OPC data source, the connection is to an OPC Server through COM/DCOM object creation.