Subscription diagnostic items
- Last UpdatedOct 10, 2024
- 1 minute read
The subscription object contains diagnostic information for a specific subscription. The following syntax can be used to access a subscription diagnostic item
/$SYS$DIAG/Conn=<DeviceGroup>/<Item>
where,
<DeviceGroup>: device group hierarchy name
<Item> : one of the diagnostic item names from the following table.
For an OPC UA connection with multiple subscription device groups, the system items hierarchy ($SYS$DIAG) displays the system items associated with all the device groups in that OPC UA connection.
|
<Item> |
Type |
R/W |
Description |
|
ActiveItemCount |
Int32 |
R |
Number of active items in this subscription |
|
IsEnabled |
Bool |
R |
Subscription group is active when True |
|
MaxQueueSize |
Int64 |
R |
Max queue size configured in this subscription |
|
MonitoredItemCount |
Int32 |
R |
Number of monitored items this subscription |
|
MonitoredItemErrCount |
Int32 |
R |
Number of monitored items with bad quality in this subscription |
|
PublishInterval |
Int32 |
R |
The frequency of data updates for this subscription in milliseconds (ms) |
|
ResetTotals |
Bool |
R/W |
Reset TotalWrites, and TotalUpdates |
|
TotalUpdates |
Int32 |
R |
Total number of received values since subscription creation |
|
TotalWrites |
Int32 |
R |
Total number of write operations since subscription creation |