Global diagnostic items
- Last UpdatedAug 19, 2024
- 2 minute read
The global object contains diagnostic items for the entire service. The following syntax can be used to access a global diagnostic item:
/$SYS$DIAG/Global/<Item>
where,
<Item>: One of the diagnostic item names from the following table
|
<Item> |
Type |
R/W |
Description |
|
ActiveItemCount |
Int32 |
R |
Number of registered items active in all connections |
|
ConnectionEvents |
Int32 |
R |
Number of connection adds or deletes since Gateway Communication Driver starts. This counter will rollover to 0 after value reaches Int32_Max. |
|
MonitoredItemCount |
Int32 |
R |
Number of monitored items in all subscriptions/connections |
|
MonitoredItemErrCount |
Int32 |
R |
Number of items with bad quality in all subscriptions/connections |
|
NodeName |
String |
R |
Name of the node the Gateway Communication Driver is running on |
|
ResetTotals |
Bool |
R/W |
Reset the values of the following system items: ConnectionEvents, TotalReads, TotalWrites, TotalItemReads, TotalItemWrites, TotalReadErrors, TotalItemReadErrors, TotalWriteErrors and TotalItemWriteErrors |
|
Run |
Bool |
R/W |
Setting this item to True (non-zero) enables the system items calculation and reporting; Setting this item to False (0) disables the system items calculation and reporting. The quality of system items is set to 0x14 (LAST KNOWN VALUE) if the system item reporting is not enabled. Default value: True |
|
StartDateTime |
DateTime |
R |
Date and Time (in UTC) when the Gateway Communication Driver was started |
|
SubscriptionCount |
Int32 |
R |
Number of subscriptions in all connections |
|
TotalItemReadErrors |
Int32 |
R |
Number of read item errors in all connections since the Gateway Communication Driver starts or last reset. (Does not include subscription updates or items in the diagnostic namespace) |
|
TotalItemReads |
Int32 |
R |
Number of read items in all connections since the Gateway Communication Driver starts or last reset. (Does not include subscription updates or items in the diagnostic namespace) |
|
TotalItemWriteErrors |
Int32 |
R |
Number of write item errors in all connections since the Gateway Communication Driver starts or last reset. (Does not include items from the diagnostic namespace) |
|
TotalItemWrites |
Int32 |
R |
Number of write items in all connections since the Gateway Communication Driver starts or last reset. (Does not include items from the diagnostic namespace) |
|
TotalReadErrors |
Int32 |
R |
Number of read operation errors in all connections since the Gateway Communication Driver starts or last reset. (An error is counted if one or more item reads failed, or the entire read is not executed) |
|
TotalReads |
Int32 |
R |
Number of reads operations in all connections since the Gateway Communication Driver starts or last reset. |
|
TotalWriteErrors |
Int32 |
R |
Number of write operation errors in all connections since the Gateway Communication Driver starts or last reset. ( An error is counted if one or more item writes failed, or the entire write is not executed) |
|
TotalWrites |
Int32 |
R |
Number of writes operations in all connections since the Gateway Communication Driver starts or last reset. |
|
UpTime |
Int32 |
R |
Elapsed time in seconds since the Gateway Communication Driver was started. |