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_CreateMonitoredItemsRTS_IEC_RESULTInput
hSubscriptionRTS_IEC_HANDLEHandle to the subscription which should be used to handle the monitored items.
eTimestampsToReturnOpcUa_TimestampsToReturnThe timestamps to be returned by the Monitored items.
noOfItemsToCreateOpcUa_Int32Number of monitored items to create.
pMonitoredItemsToCreatePOINTER TO OPCUAClientMonitoredItemConfiguration
Pointer to an array of monitored item configurations