Skip to content

Reference

OpcMonitoredItem Class

Represents a node and one of its attributes (= node data) to subscribe to monitor data changes or events on the node.

Reference

OpcMonitoredItem Class ​

Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcMonitoredItem Members
Also in
Opc.UaFx.Client

Represents a node and one of its attributes (= node data) to subscribe to monitor data changes or events on the node.

Syntax ​

csharp
public class OpcMonitoredItem
vbnet
Public Class OpcMonitoredItem

Inheritance ​

Object → OpcMonitoredItem

Constructors ​

NameDescription
OpcMonitoredItem2 overloadsInitializes a new instance of the OpcMonitoredItem class using the nodeId and attribute specified.

Properties ​

NameDescription
AttributeGets or sets the OpcAttribute to monitor.
CacheQueueSizeGets or sets the total number of notifications which can be queued in the OpcMonitoredItem related notification cache.
ClientIDGets the client-assigned unique identifier for this OpcMonitoredItem.
DisplayNameGets or sets the name of the OpcMonitoredItem used just for display purpose in the client application.
EncodingGets or sets the name of the data encoding to use.
FilterGets or sets the filter to evaluate while generating notifications for this OpcMonitoredItem.
IndexRangeGets or sets the range of array indeces to monitor.
IsCreatedGets a value indicating whether this OpcMonitoredItem has been created on the server.
IsModifiedGets a value indicating whether this OpcMonitoredItem has been modified since it has been created on the server or since its previous changes has been committed to the server.
LastDataChangeGets the last data change-related notification data received from the server.
LastEventGets the last event-related notification data received from the server.
LastNotificationGets the last notification received from the server.
MonitoringModeGets or sets the monitoring mode which applies to the monitored item.
NodeCategoryGets or sets the kind of node to monitor.
NodeIdGets or sets the node identifier of the node to monitor.
QueueModesince v2.7Gets or sets the mode used to enqueue and dequeue notification data items.
QueueSizeGets or sets a value which defines the requested total number of notifications the server shall queue for this OpcMonitoredItem.
RelativePathGets or sets the relative path to the node to monitor starting at the node identified by the NodeId.
ResolvedNodeIdGets the resolved node identifier of the node to monitor.
SamplingIntervalGets or sets the requested number of milliseconds of the interval within the server have to access and evaluate this OpcMonitoredItem.
StatusGets the status information which defines the servers ability to define/provide a monitored item configured like this OpcMonitoredItem.
SubscriptionGets the OpcSubscription this OpcMonitoredItem belongs to.
TagGets or sets the object that contains additional user data about the monitored item.

Methods ​

NameDescription
OnDataChangeReceivedprotected · virtualRaises the DataChangeReceived event of the OpcMonitoredItem.
OnEventReceivedprotected · virtualRaises the EventReceived event of the OpcMonitoredItem.
ToStringoverrideReturns a string that represents the current OpcMonitoredItem.

Events ​

NameDescription
DataChangeReceivedOccurs when a data change notification has been received.
EventReceivedOccurs when an event notification has been received.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59