ANSI C Based OPC UA Client/Server SDK  1.9.0.430
OpcUa_CreateMonitoredItemsRequest Struct Reference

Asynchronous call to create a list of monitored items in the subscription. More...

#include <opcua_types.h>

Data Fields

OpcUa_UInt32 SubscriptionId
 The Server-assigned identifier for the Subscription that will report Notifications for this MonitoredItem.
 
OpcUa_TimestampsToReturn TimestampsToReturn
 An enumeration that specifies the timestamp Attributes to be transmitted for each MonitoredItem. More...
 
OpcUa_MonitoredItemCreateRequestItemsToCreate
 A list of MonitoredItems to be created and assigned to the specified Subscription.
 

Detailed Description

Asynchronous call to create a list of monitored items in the subscription.

This service is used to create and add one or more MonitoredItems to a Subscription. A MonitoredItem is deleted automatically by the Server when the Subscription is deleted. Deleting a MonitoredItem causes its entire set of triggered item links to be deleted, but has no effect on the MonitoredItems referenced by the triggered items.

Calling the CreateMonitoredItems service repetitively to add a small number of MonitoredItems each time may adversely affect the performance of the Server. Instead, Clients should add a complete set of MonitoredItems to a Subscription whenever possible.

When a user adds a monitored item that the user is denied read access to, the add operation for the item shall succeed and the bad status Bad_NotReadable or Bad_UserAccessDenied shall be returned in the Publish response. This is the same behaviour for the case where the access rights are changed after the call to CreateMonitoredItems. If the access rights change to read rights, the Server shall start sending data for the MonitoredItem. The same procedure shall be applied for an IndexRange that does not deliver data for the current value but could deliver data in the future.

Monitored Nodes can be removed from the AddressSpace after the creation of a MonitoredItem. This does not affect the validity of the MonitoredItem but a Bad_NodeIdUnknown shall be returned in the Publish response.

The return diagnostic info setting in the request header of the CreateMonitoredItems or the last ModifyMonitoredItems Service is applied to the Monitored Items and is used as the diagnostic information settings when sending notifications in the Publish response.

Illegal request values for parameters that can be revised do not generate errors. Instead, the server will choose default values and indicate them in the corresponding revised parameter.


The documentation for this struct was generated from the following file: