9 Standard Methods

9.1 GetMonitoredItems

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-4The Method was not called in the context of the Session that owns the Subscription. |
Table 104 specifies the AddressSpace representation for the GetMonitoredItems Method.
Table 104 – 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 |
Conformance Units | |||||
Base Info ServerType |