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 MonitoredItemsof the Subscriptionidentified by subscriptionId

clientHandles

Array of clientHandles for all MonitoredItemsof the Subscriptionidentified 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 Methodwas not called in the context of the Sessionthat owns the Subscription.

Table 94specifies the AddressSpacerepresentation 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