Runtime Diagnostics and Error Reporting
- Last UpdatedMar 24, 2017
- 1 minute read
For each data source connection, OI Gateway 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 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.