OPCUAClient_CreateMonitoredItems (FUN)

FUNCTION OPCUAClient_CreateMonitoredItems : RTS_IEC_RESULT

This function creates monitored items and addes these items to an existing subscription. Monitored items can be used to sample a single data point or to watch for events sent by specific event notifiers. To get informed on state changes and the actual new values sent by the monitored item the callback interface IOPCUAClientMonitoredItemCallback can be added to each monitored item. The interface contains callbacks for data changes and event notifications as well as for state and parameter changes.

InOut:

Scope

Name

Type

Comment

Return

OPCUAClient_CreateMonitoredItems

RTS_IEC_RESULT

Input

hSubscription

RTS_IEC_HANDLE

Handle to the subscription which should be used to handle the monitored items.

eTimestampsToReturn

OpcUa_TimestampsToReturn

The timestamps to be returned by the Monitored items.

noOfItemsToCreate

OpcUa_Int32

Number of monitored items to create.

pMonitoredItemsToCreate

POINTER TO OPCUAClientMonitoredItemConfiguration

Pointer to an array of monitored item configurations