Errata exists for this version of the document.
GetMonitoredItems is used to get information about monitored items of a subscription. Its intended use is defined in OPC 10000-4.
Signature
GetMonitoredItems(
[in] UInt32 subscriptionId
[out] UInt32[] serverHandles
[out] UInt32[] clientHandles
);
Argument |
Description |
subscriptionId |
Identifier of the subscription. |
serverHandles |
Array of monitoredItemIds (serverHandles) for all MonitoredItems of the Subscription identified by subscriptionId |
clientHandles |
Array of clientHandles for all MonitoredItems of the Subscription identified by subscriptionId |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_SubscriptionIdInvalid |
Defined in OPC 10000-4 |
Bad_UserAccessDenied |
Defined in OPC 10000-4 The Method was not called in the context of the Session that owns the Subscription. |
Table 94 specifies the AddressSpace representation for the GetMonitoredItems Method.
Table 94 – GetMonitoredItems Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
GetMonitoredItems |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |