Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcClient type exposes the following members.
Initializes a new instance of the OpcClient class using the specified serverAddress
.
C#
public OpcClient(string serverAddress)
Parameters
serverAddress
String
The URI of the OPC UA server to operate on.
Exceptions
The serverAddress
is an empty string.
The serverAddress
is a null reference (Nothing in Visual Basic).
The serverAddress
is not a valid URI.
Initializes a new instance of the OpcClient class using the specified serverAddress
and endpointPolicy
.
C#
public OpcClient(string serverAddress, OpcSecurityPolicy endpointPolicy)
Parameters
serverAddress
String
The URI of the OPC UA server to operate on.
endpointPolicy
OpcSecurityPolicy
The preferred security policy configuration which is to be provided by one of the endpoints defined by the server to operate on.
Exceptions
The serverAddress
is an empty string.
The serverAddress
or endpointPolicy
is a null reference (Nothing in Visual Basic).
The serverAddress
is not a valid URI.
Initializes a new instance of the OpcClient class using the specified serverAddress
and endpointPolicy
.
C#
public OpcClient(Uri serverAddress, OpcSecurityPolicy endpointPolicy)
Parameters
serverAddress
Uri
The Uri of the OPC UA server to operate on.
endpointPolicy
OpcSecurityPolicy
The preferred security policy configuration which is to be provided by one of the endpoints defined by the server to operate on.
Exceptions
The serverAddress
or endpointPolicy
is a null reference (Nothing in Visual Basic).
Represents the default timeout value that is used by the OpcClient as initial value of the DisconnectTimeout property.
C#
public static readonly int DefaultDisconnectTimeout
Field Value
Int32
Represents the default timeout value that is used by the OpcClient as initial value of the OperationTimeout property.
C#
public static readonly int DefaultOperationTimeout
Field Value
Int32
Represents the default timeout value that is used by the OpcClient as initial value of the ReconnectTimeout property.
C#
public static readonly int DefaultReconnectTimeout
Field Value
Int32
Represents the default timeout value that is used by the OpcClient as initial value of the SessionTimeout property.
C#
public static readonly int DefaultSessionTimeout
Field Value
Int32
Occurs when a connection break has been detected.
C#
public event EventHandler BreakDetected
Occurs when the validation of a opponent application instance certificate has already fulfilled the requirements for valid and trusted certificates, but while being connected the server may behave different regarding its initially offered certificate.
C#
public event OpcCertificateJudgementEventHandler CertificateJudgement
Remarks
This event can be used to substitute the default judgement of such potential suspect situations which would otherwise throw an exception.
Occurs when the OpcClient has successfully established a connection to the server using a new session.
C#
public event EventHandler Connected
Occurs when the OpcClient is about to establish a connection to the server.
C#
public event EventHandler Connecting
C#
public event OpcDataChangeReceivedEventHandler DataChangeReceived
Occurs when a monitored item receives an OpcDialogCondition event notification which is not handled by any OpcEventReceivedEventHandler and can be therefore used to explictly respond to OpcDialogCondition events.
C#
public event OpcDialogRequestedEventHandler DialogRequested
Remarks
This event only occurs if an event is not handled by the according EventReceived handler, not handled by the EventReceived handler of the OpcSubscription of the OpcMonitoredItem and also not handled by the OpcClient through its EventReceived handler which owns the OpcSubscription.
Occurs when the OpcClient has successfully terminated a connection to the server.
C#
public event EventHandler Disconnected
Occurs when the OpcClient is about to terminate a connection to the server.
C#
public event EventHandler Disconnecting
Occurs when a monitored item receives an event notification which is not handled by any other OpcEventReceivedEventHandler.
C#
public event OpcEventReceivedEventHandler EventReceived
Remarks
This event only occurs if an event is not handled by the according EventReceived handler and also not handled by the EventReceived handler of the OpcSubscription of the OpcMonitoredItem.
Occurs when the OpcClient received a notification message form the server connected to.
C#
public event OpcNotificationReceivedEventHandler NotificationReceived
Occurs when the OpcClient has successfully re-established a broken connection to the server using the previously used session.
C#
public event EventHandler Reconnected
Occurs when the OpcClient is about to re-establish a broken connection to the server.
C#
public event EventHandler Reconnecting
Occurs when ever the State property has been changed to a different value.
C#
public event EventHandler<OpcClientStateChangedEventArgs> StateChanged
C#
public event EventHandler SubscriptionsChanged
Gets or sets the name of the client application.
C#
public override string ApplicationName { get; set; }
Property Value
The name of the application. The default value is “OPC Application” in case there is no entry assembly available; otherwise the value of the AssemblyTitleAttribute of the entry assembly.
Remarks
The name does not have to be unique. In case there is no SessionName used the ApplicationName is used as the session name instead. The value of this property is also used as the Cryptography.X509Certificates.X509Certificate2.SubjectName of the application certificate whenever an application certificate is to be created/looked-up (from the application certificates store).
Gets or sets an instance of the OpcApplicationConfiguration class which is used as a low-level representation of the code/file based client application configuration.
C#
[CLSCompliant(false)] public override OpcApplicationConfiguration Configuration { get; set; }
Property Value
An instance of the OpcApplicationConfiguration class configured with the client specific setup to use. An assignment of a null reference (Nothing in Visual Basic) will lead to the creation of a new instance of the OpcApplicationConfiguration class with all defaults typically used by client applications.
Remarks
A file based OpcApplicationConfiguration needs to be loaded manually either using a specific config-section in its App.config (see LoadClientConfig(String)) or using a custom file using LoadClientConfigFile(String). A low-level code based client configuration can be directly performed using an instance of the OpcApplicationConfiguration like the instance provided by this property.
Gets or sets the wait time before terminating the attempt to shut-down an activated session.
C#
public int DisconnectTimeout { get; set; }
Property Value
The time in milliseconds to wait before terminating the attempt to shut-down an activated session.
Exceptions
The value is less than zero.
Remarks
The default value of this property is DefaultDisconnectTimeout.
Gets the OpcClientInterfaces instance which provides options to control the access to the different OPC Classic interfaces used/provided by the OpcClient.
C#
public OpcClientInterfaces Interfaces { get; }
Property Value
An instance of the OpcClientInterfaces class which can be used to control the access to the different interfaces accessed.
Gets a collection of locales supported/used by the client.
C#
public OpcLocaleCollection Locales { get; }
Property Value
An instance of the OpcLocaleCollection which can be used to setup the supported/used locales. While each entry is a pure string representation of the locales supported/used it is important to use the same notation of the values provided by CultureInfo.Name (e.g. 'en' for english locales or 'de' for german locales, …). Leave the collection provided empty to use the servers default locale.
Gets a read-only collection of namespaces used by the server connected to.
C#
public override OpcReadOnlyNamespaceCollection Namespaces { get; }
Property Value
OpcReadOnlyNamespaceCollection
An instance of the OpcReadOnlyNamespaceCollection class with OpcNamespace items for each 'NamespaceUri' used by the server to organize the nodes in its address space.
Remarks
The items in the OpcReadOnlyNamespaceCollection provided are created while a connection is established to the server. The items are additionally re-created whenever the OpcClient reconnects to the server.
Gets or sets the OpcNodeSet which is offered by the server the client is operating on. The OpcClient uses the information in the node set to discover nodes, references and types “offline” (without the need to frequently query the server for the necessary information).
C#
public OpcNodeSet NodeSet { get; set; }
Property Value
An instance of the OpcNodeSet class which offers information about the nodes, references and types declared and used by the server the client is operating on. If specified the client can reduce the amount of data requests and performs much faster. In case there is no OpcNodeSet specified a null reference (Nothing in Visual Basic).
Gets or sets the wait time before terminating an operation being processed by the server.
C#
public int OperationTimeout { get; set; }
Property Value
The time in milliseconds to wait before terminating an operation being processed by the server.
Remarks
The default value of this property is DefaultOperationTimeout.
Gets or sets the wait time before terminating the attempt to reconnect to a halted session. This does therefore also represent the time between reconnect attempts.
C#
public int ReconnectTimeout { get; set; }
Property Value
The time in milliseconds to wait before terminating the attempt to reconnect to a halted session. A value equals zero indicates that there is no reconnect attempt performed.
Exceptions
The value is less than zero.
Remarks
The default value of this property is DefaultReconnectTimeout.
Gets or sets the Uri of the OPC UA server to operate on.
C#
public Uri ServerAddress { get; set; }
Property Value
An instance of the Uri class which provides the necessary resource information to establish a connection to the server to operate on.
Exceptions
The value is a null reference (Nothing in Visual Basic).
Gets a collection of OPC Classic interfaces supported by the server and used by the client. The general available interfaces are listed in the OpcClassicInterfaces class.
C#
public OpcClassicInterfaceCollection ServerInterfaces { get; }
Property Value
An instance of the OpcClassicInterfaceCollection items are used when accessing an OPC Classic server.
Remarks
Preselecting the interfaces provided by a server will significantly improve the performance when connecting to an OPC Classic server, because of the supported interfaces will then not queried first via OPC Classic discovery.
Gets the OpcClientServices instance which provides direct access to the different OPC UA services used/provided by the OpcClient.
C#
public OpcClientServices Services { get; }
Property Value
An instance of the OpcClientServices class which can be used to directly interact with the different services or to perform very low-level configurations to control their behavior.
Gets or sets the name to use for sessions to identify a session of this client.
C#
public string SessionName { get; set; }
Property Value
The name to use for the next session created and activated through this client.
Gets or sets the wait time before an active session is handled as expired.
C#
public int SessionTimeout { get; set; }
Property Value
The time in milliseconds to wait before an active session is handled as expired.
Exceptions
The value is less than zero.
Remarks
The default value of this property is DefaultSessionTimeout.
Gets a value that indicates the current state of the client regarding its channel used to communicate with the endpoint defined by ServerAddress and EndpointPolicy setup via Security.
C#
public OpcClientState State { get; }
Property Value
One of the members defined by the OpcClientState enumeration. Which specifies the current state of the client. The initial value of this property is Created. Any subsequent transition of the value of this property will never change the value of this property back to its initial value (= Created).
Remarks
Depending on the current state different actions are either allowed, disallowed or functional on the current OpcClient instance.
C#
public OpcSubscriptionReadOnlyCollection Subscriptions { get; }
Property Value
Gets the OpcContext which is used to store the context sensitive data and configuration used by the current OpcClient instance.
C#
public override OpcContext SystemContext { get; }
Property Value
An instance of the OpcContext class which might be at least Empty.
Gets or sets a value indicating whether a connection break detection is to be used.
C#
public bool UseBreakDetection { get; set; }
Property Value
The value true if connection breaks have to be detected; otherwise the value false.
Remarks
The default value of this property is true.
Gets the OpcEndpointDescription of the servers provided endpoints which has been selected by the client to connect to the server.
C#
public OpcEndpointDescription UsedEndpoint { get; }
Property Value
An instance of the OpcEndpointDescription representing the metadata of the endpoint of the endpoint to which the client has established a connection.
Gets or sets a value indicating whether the current OpcClient shall use generic types to represent OPC UA server defined custom types. To do so the client will determine the necessary type information from the server directly after a connection to the server has been established using Connect.
C#
public bool UseDynamic { get; set; }
Property Value
The value true if the current OpcClient shall use generic types constructed from the type information offered by the server; otherwise the value false. The default value is determined by the UseDynamic property.
Adds a new node into the address space hierarchy using the command
specified.
C#
public OpcAddNodeResult AddNode(OpcAddNode command)
Parameters
command
OpcAddNode
The OpcAddNode instance to process.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the command
specified; together with information about the outcome of the processed command.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds one or more nodes into the address space hierarchy using the commands
specified.
C#
public OpcAddNodeResultCollection AddNodes(IEnumerable<OpcAddNode> commands)
Parameters
commands
IEnumerable<OpcAddNode>
A sequence of OpcAddNode instances to process.
Returns
An instance of the OpcAddNodeResultCollection class which contains the node identifiers used or created for the nodes added through the commands
specified; together with information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds one or more nodes into the address space hierarchy using the commands
specified.
C#
public OpcAddNodeResultCollection AddNodes(params OpcAddNode[] commands)
Parameters
commands
OpcAddNode[]
An array of OpcAddNode instances to process.
Returns
An instance of the OpcAddNodeResultCollection class which contains the node identifiers used or created for the nodes added through the commands
specified; together with information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, params OpcAddInstanceNode[] children)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
children
OpcAddInstanceNode[]
The initial child nodes of the node to add.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
or nodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, params OpcAddInstanceNode[] children)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
children
OpcAddInstanceNode[]
The initial child nodes of the node to add.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
or nodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, params OpcAddInstanceNode[] children)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
children
OpcAddInstanceNode[]
The initial child nodes of the node to add.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId
.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId
.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
or referenceTypeId
is equals Null or name
is equals Null.
The name
, nodeId
, parentNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, params OpcAddInstanceNode[] children)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId
.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId
.
children
OpcAddInstanceNode[]
The initial child nodes of the node to add.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
or referenceTypeId
is equals Null or name
is equals Null.
The name
, nodeId
, parentNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the referenceType
specified as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId
.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new object node into the address space hierarchy using the specified type
of object node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the referenceType
specified as the type of reference.
C#
public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, params OpcAddInstanceNode[] children)
Parameters
type
OpcObjectType
One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new object node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId
.
children
OpcAddInstanceNode[]
The initial child nodes of the node to add.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new reference to existing nodes in the address space hierarchy using the command
specified.
C#
public OpcStatus AddReference(OpcAddReference command)
Parameters
command
OpcAddReference
The OpcAddReference instance to process.
Returns
An instance of the OpcStatus class which contains the information about the outcome of the processed command.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other. The new reference will be a ParentToChild relation using Organizes as the type of reference.
C#
public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed. This identifier refers to the 'child' node.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed. This identifier referes to the 'parent' node.
targetNodeCategory
OpcNodeCategory
One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId
.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction
specified. The new reference will use the relation defined by direction
using the Organizes as the type of reference.
C#
public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
targetNodeCategory
OpcNodeCategory
One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId
.
direction
OpcReferenceDirection
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction
specified. The new reference will use the relation defined by direction
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction, OpcNodeId referenceTypeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
targetNodeCategory
OpcNodeCategory
One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId
.
direction
OpcReferenceDirection
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId
and the targetNodeId
.
Returns
Exceptions
The nodeId
, targetNodeId
or referenceTypeId
is equals Null.
The nodeId
, targetNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction
specified. The new reference will use the relation defined by direction
using the referenceType
specified as the type of reference.
C#
public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction, OpcReferenceType referenceType)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
targetNodeCategory
OpcNodeCategory
One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId
.
direction
OpcReferenceDirection
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId
and the targetNodeId
.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds one or more references to existing nodes in the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection AddReferences(IEnumerable<OpcAddReference> commands)
Parameters
commands
IEnumerable<OpcAddReference>
A sequence of OpcAddReference instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The add reference service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds one or more references to existing nodes in the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection AddReferences(params OpcAddReference[] commands)
Parameters
commands
OpcAddReference[]
An array of OpcAddReference instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The add reference service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerUriInvalid | For more details see BadServerUriInvalid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model on this server. |
BadReferenceLocalOnly | The reference type is not valid for a reference to a remote server. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadDuplicateReferenceNotAllowed | The reference type between the nodes is already defined. |
BadInvalidSelfReference | The server does not allow this type of self reference on this node. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, object value)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
value
Object
The initial value of the new variable node.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
or nodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, object value)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
value
Object
The initial value of the new variable node.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The name
is equals Null.
The name
or nodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using HasComponent as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, object value)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
value
Object
The initial value of the new variable node.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId
.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId
.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
or referenceTypeId
is equals Null or name
is equals Null.
The name
, nodeId
, parentNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, object value)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId
.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId
.
value
Object
The initial value of the new variable node.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
or referenceTypeId
is equals Null or name
is equals Null.
The name
, nodeId
, parentNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the referenceType
specified as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId
.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Adds a new variable node into the address space hierarchy using the specified type
of variable node to add, which shall be accessible by the name
and nodeId
defined. The new node will be a child of the node identified by parentNodeId
using the referenceType
specified as the type of reference.
C#
public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, object value)
Parameters
type
OpcVariableType
One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
name
OpcName
The OpcName through that the new variable node can be accessed.
nodeId
OpcNodeId
The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeId
OpcNodeId
The OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId
.
value
Object
The initial value of the new variable node.
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.
Exceptions
The parentNodeId
is equals Null or name
is equals Null.
The name
, nodeId
or parentNodeId
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadParentNodeIdInvalid | The parent node id does not refer to a valid node. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadReferenceNotAllowed | The reference could not be created because it violates constraints imposed by the data model. |
BadNodeIdRejected | The requested node id is already used by another node. |
BadNodeClassInvalid | For more details see BadNodeClassInvalid. |
BadBrowseNameInvalid | For more details see BadBrowseNameInvalid. |
BadBrowseNameDuplicated | The browse name is not unique among nodes that share the same relationship with the parent. |
BadNodeAttributesInvalid | The node attributes are not valid for the node class. |
BadTypeDefinitionInvalid | For more details see BadTypeDefinitionInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
C#
public OpcNodeInfo BrowseNode(OpcBrowseNode command)
Parameters
command
OpcBrowseNode
Returns
Exceptions
C#
public OpcNodeInfo BrowseNode(OpcNodeId nodeId, IEnumerable<OpcReferenceType> referenceTypes)
Parameters
nodeId
OpcNodeId
referenceTypes
IEnumerable<OpcReferenceType>
Returns
Exceptions
C#
public OpcNodeInfo BrowseNode(OpcNodeId nodeId, params OpcReferenceType[] referenceTypes)
Parameters
nodeId
OpcNodeId
referenceTypes
OpcReferenceType[]
Returns
Exceptions
C#
public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId)
Parameters
view
OpcViewDescription
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId, IEnumerable<OpcReferenceType> referenceTypes)
Parameters
view
OpcViewDescription
nodeId
OpcNodeId
referenceTypes
IEnumerable<OpcReferenceType>
Returns
Exceptions
C#
public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId, params OpcReferenceType[] referenceTypes)
Parameters
view
OpcViewDescription
nodeId
OpcNodeId
referenceTypes
OpcReferenceType[]
Returns
Exceptions
C#
public IEnumerable<OpcNodeId> BrowseNodeIds(BrowsePathCollection pathsToTranslate)
Parameters
pathsToTranslate
BrowsePathCollection
Returns
C#
public IEnumerable<OpcNodeInfo> BrowseNodes(IEnumerable<OpcBrowseNode> commands)
Parameters
commands
IEnumerable<OpcBrowseNode>
Returns
Exceptions
C#
public IEnumerable<OpcNodeInfo> BrowseNodes(params OpcBrowseNode[] commands)
Parameters
commands
OpcBrowseNode[]
Returns
Exceptions
C#
public void CallAction<T1, T2, T3, T4, T5, T6, T7, T8>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7, T8 parameter8)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
parameter7
7
parameter8
8
C#
public void CallAction<T1, T2, T3, T4, T5, T6, T7>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
parameter7
7
C#
public void CallAction<T1, T2, T3, T4, T5, T6>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
C#
public TResult CallFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7, T8 parameter8)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
parameter7
7
parameter8
8
Returns
C#
public TResult CallFunc<T1, T2, T3, T4, T5, T6, T7, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
parameter7
7
Returns
C#
public TResult CallFunc<T1, T2, T3, T4, T5, T6, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameter1
1
parameter2
2
parameter3
3
parameter4
4
parameter5
5
parameter6
6
Returns
C#
public object[] CallMethod(OpcCallMethod command)
Parameters
command
OpcCallMethod
Returns
Object[]
Exceptions
C#
public object[] CallMethod(OpcNodeId objectId, OpcNodeId methodId, IEnumerable<object> parameters)
Parameters
objectId
OpcNodeId
methodId
OpcNodeId
parameters
IEnumerable<Object>
Returns
Object[]
Exceptions
C#
public object[][] CallMethods(IEnumerable<OpcCallMethod> commands)
Parameters
commands
IEnumerable<OpcCallMethod>
Returns
Object[][]
Exceptions
C#
public object[][] CallMethods(params OpcCallMethod[] commands)
Parameters
commands
OpcCallMethod[]
Returns
Object[][]
Exceptions
Establishes a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.
C#
public void Connect()
Exceptions
The ServerAddress is not specified. The value of ServerAddress is a null reference (Nothing in Visual Basic) or the method is currently not supported, because of the license has expired.
The object has been disposed of.
This type of exception can have the following reasons: * BadSecureChannelClosed The secure channel has been closed. This can have the following reasons: * Reason A The client certificate is unknown or untrusted by the server. * Solution A Store the client certificate in the servers certificate store for trusted certificates. * Solution B Use a different endpoint with the OpcSecurityMode value None to connect to the server.
Performs all necessary tasks to establish a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.
C#
protected virtual void ConnectCore()
C#
public OpcStatusCollection CreateNodeHistory(int nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection CreateNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection CreateNodeHistory(OpcCreateNodeHistory command)
Parameters
command
OpcCreateNodeHistory
Returns
Exceptions
C#
public OpcStatusCollection CreateNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
OpcNodeId
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection CreateNodeHistory(string nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
String
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection CreateNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
String
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> CreateNodesHistory(IEnumerable<OpcCreateNodeHistory> commands)
Parameters
commands
IEnumerable<OpcCreateNodeHistory>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> CreateNodesHistory(params OpcCreateNodeHistory[] commands)
Parameters
commands
OpcCreateNodeHistory[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
Creates a new instance of the OpcClientSecurity class.
C#
protected override sealed OpcClientSecurity CreateSecurity()
Returns
A new instance of theOpcClientSecurity class.
Creates a new instance of the OpcTransport class.
C#
protected override sealed OpcTransport CreateTransport()
Returns
A new instance of theOpcTransport class.
Deletes a node from the address space hierarchy using the command
specified.
C#
public OpcStatus DeleteNode(OpcDeleteNode command)
Parameters
command
OpcDeleteNode
The OpcDeleteNode instance to process.
Returns
An instance of the OpcStatus class which contains the information about the outcome of the processed command.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes a node from the address space hierarchy using the identifier of the node which shall be deleted including the references where the node acts as the source and as the target of the reference.
C#
public OpcStatus DeleteNode(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the node to delete can be identified and accessed.
Returns
Exceptions
The nodeId
is equals Null.
The nodeId
is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes a node from the address space hierarchy using the identifier of the node which shall be deleted including the references where the node acts as the source and optionally (see includeTargetReferences
) as the target of the reference.
C#
public OpcStatus DeleteNode(OpcNodeId nodeId, bool includeTargetReferences)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the node to delete can be identified and accessed.
includeTargetReferences
Boolean
A value indicating whether all references there the node being deleted acts as the target shall be deleted as well. The value true if all references using the node to delete as the target of the reference shall be deleted as well; otherwise the value false which indicates that only references there the node to delete acts as the source of the reference.
Returns
Exceptions
The nodeId
is equals Null.
The nodeId
is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
C#
public OpcStatusCollection DeleteNodeHistory(int nodeId)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(int nodeId, DateTime? startTime)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(int nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(OpcDeleteNodeHistory command)
Parameters
command
OpcDeleteNodeHistory
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId, DateTime? startTime)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(string nodeId)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(string nodeId, DateTime? startTime)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistory(string nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, IEnumerable<DateTime> times)
Parameters
nodeId
Int32
times
IEnumerable<DateTime>
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, int namespaceIndex, IEnumerable<DateTime> times)
Parameters
nodeId
Int32
namespaceIndex
Int32
times
IEnumerable<DateTime>
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(OpcDeleteNodeHistoryAtTime command)
Parameters
command
OpcDeleteNodeHistoryAtTime
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(OpcNodeId nodeId, IEnumerable<DateTime> times)
Parameters
nodeId
OpcNodeId
times
IEnumerable<DateTime>
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, IEnumerable<DateTime> times)
Parameters
nodeId
String
times
IEnumerable<DateTime>
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, int namespaceIndex, IEnumerable<DateTime> times)
Parameters
nodeId
String
namespaceIndex
Int32
times
IEnumerable<DateTime>
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(int nodeId)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, DateTime? startTime)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(OpcDeleteNodeHistoryModified command)
Parameters
command
OpcDeleteNodeHistoryModified
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId, DateTime? startTime)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(string nodeId)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, DateTime? startTime)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, DateTime? startTime, DateTime? endTime)
Parameters
nodeId
String
Returns
Exceptions
Deletes one or more nodes from the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection DeleteNodes(IEnumerable<OpcDeleteNode> commands)
Parameters
commands
IEnumerable<OpcDeleteNode>
A sequence of OpcDeleteNode instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.
C#
public OpcStatusCollection DeleteNodes(IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
A sequence of OpcNodeId instances through that the nodes to delete can be identified and accessed.
Returns
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes one or more nodes from the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection DeleteNodes(params OpcDeleteNode[] commands)
Parameters
commands
OpcDeleteNode[]
An array of OpcDeleteNode instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.
C#
public OpcStatusCollection DeleteNodes(params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
An array of OpcNodeId instances through that the nodes to delete can be identified and accessed.
Returns
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The delete node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
UncertainReferenceNotDeleted | The server was not able to delete all target references. |
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistory(IEnumerable<OpcDeleteNodeHistory> commands)
Parameters
commands
IEnumerable<OpcDeleteNodeHistory>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistory(params OpcDeleteNodeHistory[] commands)
Parameters
commands
OpcDeleteNodeHistory[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(IEnumerable<OpcDeleteNodeHistoryAtTime> commands)
Parameters
commands
IEnumerable<OpcDeleteNodeHistoryAtTime>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(params OpcDeleteNodeHistoryAtTime[] commands)
Parameters
commands
OpcDeleteNodeHistoryAtTime[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(IEnumerable<OpcDeleteNodeHistoryModified> commands)
Parameters
commands
IEnumerable<OpcDeleteNodeHistoryModified>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(params OpcDeleteNodeHistoryModified[] commands)
Parameters
commands
OpcDeleteNodeHistoryModified[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
Deletes a reference of existing nodes in the address space hierarchy using the command
specified.
C#
public OpcStatus DeleteReference(OpcDeleteReference command)
Parameters
command
OpcDeleteReference
The OpcDeleteReference instance to process.
Returns
An instance of the OpcStatus class which contains the information about the outcome of the processed command.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The add node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other. The relation is deleted in bidirectional direction using Organizes as the type of reference.
C#
public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction
specified. The reference to delete have to be of the relation defined by direction
using the Organizes as the type of reference.
C#
public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
direction
Nullable<OpcReferenceDirection>
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction
specified. The reference to delete have to be of the relation defined by direction
using the type of reference identified by the referenceTypeId
specified.
C#
public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcNodeId referenceTypeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
direction
Nullable<OpcReferenceDirection>
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.
referenceTypeId
OpcNodeId
The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId
and the targetNodeId
.
Returns
Exceptions
The nodeId
, targetNodeId
or referenceTypeId
is equals Null.
The nodeId
, targetNodeId
or referenceTypeId
is a null reference (Nothing in Visual Basic).
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction
specified. The reference to delete have to be of the relation defined by direction
using the referenceType
specified as the type of reference.
C#
public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcReferenceType referenceType)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the source node can be identified and accessed.
targetNodeId
OpcNodeId
The OpcNodeId through that the target node can be identified and accessed.
direction
Nullable<OpcReferenceDirection>
One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.
referenceType
OpcReferenceType
One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId
and the targetNodeId
.
Returns
Exceptions
The nodeId
or targetNodeId
is equals Null.
The nodeId
or targetNodeId
is a null reference (Nothing in Visual Basic).
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection DeleteReferences(IEnumerable<OpcDeleteReference> commands)
Parameters
commands
IEnumerable<OpcDeleteReference>
A sequence of OpcDeleteReference instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete reference service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Deletes one or more references of existing nodes in the address space hierarchy using the commands
specified.
C#
public OpcStatusCollection DeleteReferences(params OpcDeleteReference[] commands)
Parameters
commands
OpcDeleteReference[]
An array of OpcDeleteReference instances to process.
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The delete reference service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadSourceNodeIdInvalid | For more details see BadSourceNodeIdInvalid. |
BadReferenceTypeIdInvalid | For more details see BadReferenceTypeIdInvalid. |
BadServerIndexInvalid | The server index is not valid. |
BadTargetNodeIdInvalid | For more details see BadTargetNodeIdInvalid. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadNoDeleteRights | For more details see BadNoDeleteRights. |
Verifies whether the client is connected to the server.
C#
protected void DenyIfNotConnected()
Exceptions
The client is not connected to the server.
Closes an activated session and terminates the connection to the server.
C#
public void Disconnect()
Exceptions
The method is currently not supported, because of the license has expired.
The object has been disposed of.
Performs all necessary tasks to close an activated session and to terminate the connection to the server.
C#
protected virtual void DisconnectCore()
Releases the unmanaged resources used by the OpcClient and optionally releases the managed resources.
C#
protected override void Dispose(bool disposing)
Parameters
disposing
Boolean
The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources.
Retrieves the OpcDataTypeInfo object which declares the type which is identified by the encoding
specified.
C#
public OpcDataTypeInfo GetDataType(OpcEncoding encoding)
Parameters
encoding
OpcEncoding
The OpcEncoding which identifies the OpcDataTypeInfo to retrieve.
Returns
The OpcDataTypeInfo object which is known under the encoding
specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo which is associated with the encoding
specified.
Exceptions
The encoding
is a null reference (Nothing in Visual Basic).
Retrieves the OpcDataTypeInfo object which is known under the name
specified.
C#
public OpcDataTypeInfo GetDataType(OpcName name)
Parameters
name
OpcName
The OpcName of the OpcDataTypeInfo object to retrieve.
Returns
The OpcDataTypeInfo object its Name is equals to the name
specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
The name
is a null reference (Nothing in Visual Basic).
Retrieves the OpcDataTypeInfo object which declares the type which is identified by the typeId
specified.
C#
public OpcDataTypeInfo GetDataType(OpcNodeId typeId)
Parameters
typeId
OpcNodeId
The OpcNodeId which identifies the OpcDataTypeInfo to retrieve.
Returns
The OpcDataTypeInfo object which is known under the typeId
specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo object which is associated with the typeId
specified.
Exceptions
The typeId
is a null reference (Nothing in Visual Basic).
Retrieves the OpcDataTypeInfo object which is known under the name
specified.
C#
public OpcDataTypeInfo GetDataType(string name)
Parameters
name
String
The String to use to identify the OpcDataTypeInfo object to retrieve.
Returns
The OpcDataTypeInfo object its Name is equals (regarding its Value) to the name
specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
The name
is equals Empty.
The name
is a null reference (Nothing in Visual Basic).
Retrieves the OpcDataTypeInfo object which declares the type implemented by the underlyingType
specified.
C#
public OpcDataTypeInfo GetDataType(Type underlyingType)
Parameters
underlyingType
Type
The Type which implements the OpcDataTypeInfo to retrieve.
Returns
The OpcDataTypeInfo object which declares the underlyingType
specified or a null reference (Nothing in Visual Basic) if there isn't a OpcDataTypeInfo object associated with the underlyingType
specified.
Exceptions
The underlyingType
is a null reference (Nothing in Visual Basic).
Retrieves the OpcDataTypeInfo object which is known under the xmlName
specified.
C#
public OpcDataTypeInfo GetDataType(XmlQualifiedName xmlName)
Parameters
xmlName
XmlQualifiedName
The XmlQualifiedName of the OpcDataTypeInfo object to retrieve.
Returns
The OpcDataTypeInfo object its XmlName is equals to the xmlName
specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
The xmlName
is a null reference (Nothing in Visual Basic).
Retrieves all OpcDataTypeInfo objects offered by the IOpcTypeProvider.
C#
public OpcDataTypeInfo[] GetDataTypes()
Returns
An array that contains all OpcDataTypeInfo objects that are offered by the IOpcTypeProvider.
Retrieves the system used to describe the data exchanged via OPC UA using the type of encoding configured by the client and supported by the endpdoint of the server connected to.
C#
public OpcDataTypeSystem GetDataTypeSystem()
Returns
An instance of the OpcDataTypeSystem class which can be used to understand the structure of the data exchanged using a specific type of encoding (see OpcEncodingType).
Exceptions
The requested operation is currently not supported.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details.
Remarks
Querying the data type system may fail in case there MaxByteStringLength and MaxMessageSize are exceeded. The transport configuration needs to be adjusted to query larger type systems.
The OpcDataTypeSystem offered represents by default the data type system defined in address space of the server and its data type information is queried on-demand using different request operations. This “overhead” can be overcome using an offline stored OpcNodeSet which needs to be loaded and assigned to the NodeSet property of the current OpcClient.
In case there NodeSet property has been set to an instance of the OpcNodeSet class the offered OpcDataTypeSystem expresses the data type information contained in the NodeSet configured.
Retrieves the OpcNodeTypeInfo object which is known under the name
specified.
C#
public OpcNodeTypeInfo GetNodeType(OpcName name)
Parameters
name
OpcName
The OpcName of the OpcNodeTypeInfo object to retrieve.
Returns
The OpcNodeTypeInfo object its Name is equals to the name
specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
The name
is a null reference (Nothing in Visual Basic).
Retrieves the OpcNodeTypeInfo object which declares the type which is identified by the typeId
specified.
C#
public OpcNodeTypeInfo GetNodeType(OpcNodeId typeId)
Parameters
typeId
OpcNodeId
The OpcNodeId which identifies the OpcNodeTypeInfo to retrieve.
Returns
The OpcNodeTypeInfo object which is known under the typeId
specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcNodeTypeInfo object which is associated with the typeId
specified.
Exceptions
The typeId
is a null reference (Nothing in Visual Basic).
Retrieves the OpcNodeTypeInfo object which is known under the name
specified.
C#
public OpcNodeTypeInfo GetNodeType(string name)
Parameters
name
String
The String to use to identify the OpcNodeTypeInfo object to retrieve.
Returns
The OpcNodeTypeInfo object its Name is equals (regarding its Value) to the name
specified; otherwise a null reference (Nothing in Visual Basic).
Exceptions
The name
is equals Empty.
The name
is a null reference (Nothing in Visual Basic).
Retrieves the OpcNodeTypeInfo object which declares the type implemented by the underlyingType
specified.
C#
public OpcNodeTypeInfo GetNodeType(Type underlyingType)
Parameters
underlyingType
Type
The Type which implements the OpcNodeTypeInfo to retrieve.
Returns
The OpcNodeTypeInfo object which declares the underlyingType
specified or a null reference (Nothing in Visual Basic) if there isn't a OpcNodeTypeInfo object associated with the underlyingType
specified.
Exceptions
The underlyingType
is a null reference (Nothing in Visual Basic).
Retrieves all OpcNodeTypeInfo objects offered by the IOpcTypeProvider.
C#
public OpcNodeTypeInfo[] GetNodeTypes()
Returns
An array that contains all OpcNodeTypeInfo objects that are offered by the IOpcTypeProvider.
Retrieves the system used to describe the type of nodes accessed on the server connected to.
C#
public OpcNodeTypeSystem GetNodeTypeSystem()
Returns
An instance of the OpcNodeTypeSystem class which can be used to understand the structure of the nodes accessed.
Exceptions
The requested operation is currently not supported.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details.
Remarks
The OpcNodeTypeSystem offered represents by default the node type system defined in address space of the server and its node type information is queried on-demand using different request operations. This “overhead” can be overcome using an offline stored OpcNodeSet which needs to be loaded and assigned to the NodeSet property of the current OpcClient.
In case there NodeSet property has been set to an instance of the OpcNodeSet class the offered OpcNodeTypeSystem expresses the node type information contained in the NodeSet configured.
Raises the BreakDetected event of the OpcClient.
C#
[CLSCompliant(false)] protected virtual void OnBreakDetected(KeepAliveEventArgs e)
Parameters
The event data.
Raises the CertificateJudgement event of the OpcClient.
C#
protected virtual void OnCertificateJudgement(OpcCertificateJudgementEventArgs e)
Parameters
e
OpcCertificateJudgementEventArgs
The event data.
Raises the Connecting event of the OpcClient.
C#
protected virtual void OnConnecting(EventArgs e)
Parameters
The event data.
Raises the DataChangeReceived event of the OpcClient.
C#
protected virtual void OnDataChangeReceived(OpcDataChangeReceivedEventArgs e)
Parameters
e
OpcDataChangeReceivedEventArgs
The event data.
Raises the DialogRequested event of the OpcClient.
C#
protected virtual void OnDialogRequested(OpcDialogRequestedEventArgs e)
Parameters
The event data.
Raises the Disconnected event of the OpcClient.
C#
protected virtual void OnDisconnected(EventArgs e)
Parameters
The event data.
Raises the Disconnecting event of the OpcClient.
C#
protected virtual void OnDisconnecting(EventArgs e)
Parameters
The event data.
Raises the EventReceived event of the OpcClient.
C#
protected virtual void OnEventReceived(OpcEventReceivedEventArgs e)
Parameters
The event data.
Raises the NotificationReceived event of the OpcClient.
C#
protected virtual void OnNotificationReceived(OpcNotificationReceivedEventArgs e)
Parameters
e
OpcNotificationReceivedEventArgs
The event data.
Raises the Reconnected event of the OpcClient.
C#
protected virtual void OnReconnected(EventArgs e)
Parameters
The event data.
Raises the Reconnecting event of the OpcClient.
C#
protected virtual void OnReconnecting(EventArgs e)
Parameters
The event data.
Raises the StateChanged event of the OpcClient.
C#
protected virtual void OnStateChanged(OpcClientStateChangedEventArgs e)
Parameters
e
OpcClientStateChangedEventArgs
The event data.
Reads the Value attribute of the node specified by nodeId
.
C#
public OpcValue ReadNode(int nodeId)
Parameters
nodeId
Int32
The numeric node identifier of the node to read.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is equals zero.
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attribute of the node specified by nodeId
and namespaceIndex
.
C#
public OpcValue ReadNode(int nodeId, int namespaceIndex)
Parameters
nodeId
Int32
The numeric node identifier of the node to read.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the node specified by nodeId
and namespaceIndex
.
C#
public OpcValue ReadNode(int nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
Int32
The numeric node identifier of the node to read.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is equals zero.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the node specified by nodeId
.
C#
public OpcValue ReadNode(int nodeId, OpcAttribute attribute)
Parameters
nodeId
Int32
The numeric node identifier of the node to read.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is equals zero.
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attribute of the node specified by nodeId
.
C#
public OpcValue ReadNode(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node to read.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
indicates to be a null-node-id (see IsNull).
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the node specified by nodeId
.
C#
public OpcValue ReadNode(OpcNodeId nodeId, OpcAttribute attribute)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node to read.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
indicates to be a null-node-id (see IsNull).
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the value of an attribute of a node using the specified command
.
C#
public OpcValue ReadNode(OpcReadNode command)
Parameters
command
OpcReadNode
The OpcReadNode instance to process.
Returns
An instance of the OpcValue class which stores the value requested by the command
.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attribute of the node specified by nodeId
.
C#
public OpcValue ReadNode(string nodeId)
Parameters
nodeId
String
The textual node identifier of the node to read.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attribute of the node specified by nodeId
and namespaceIndex
.
C#
public OpcValue ReadNode(string nodeId, int namespaceIndex)
Parameters
nodeId
String
The textual node identifier of the node to read.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the node specified by nodeId
and namespaceIndex
.
C#
public OpcValue ReadNode(string nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
String
The textual node identifier of the node to read.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the node specified by nodeId
.
C#
public OpcValue ReadNode(string nodeId, OpcAttribute attribute)
Parameters
nodeId
String
The textual node identifier of the node to read.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
Returns
An instance of the OpcValue class which stores the value requested.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int nodeId)
Parameters
nodeId
Int32
Returns
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, OpcReadNodeHistory command)
Parameters
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, string nodeId)
Parameters
nodeId
String
Returns
Exceptions
C#
public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, OpcReadNodeHistory command)
Parameters
time
DateTime
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, OpcReadNodeHistory command)
Parameters
times
DateTime[]
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, int nodeId)
Parameters
times
IEnumerable<DateTime>
nodeId
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, int nodeId, int namespaceIndex)
Parameters
times
IEnumerable<DateTime>
nodeId
Int32
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, OpcNodeId nodeId)
Parameters
times
IEnumerable<DateTime>
nodeId
OpcNodeId
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, OpcReadNodeHistory command)
Parameters
times
IEnumerable<DateTime>
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, string nodeId)
Parameters
times
IEnumerable<DateTime>
nodeId
String
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, string nodeId, int namespaceIndex)
Parameters
times
IEnumerable<DateTime>
nodeId
String
namespaceIndex
Int32
Returns
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int nodeId)
Parameters
nodeId
Int32
Returns
IEnumerable<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId)
Parameters
numberOfValues
Int32
nodeId
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
Int32
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcNodeId nodeId)
Parameters
numberOfValues
Int32
nodeId
OpcNodeId
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcReadNodeHistory command)
Parameters
numberOfValues
Int32
command
OpcReadNodeHistory
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId)
Parameters
numberOfValues
Int32
nodeId
String
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId, int namespaceIndex)
Parameters
numberOfValues
Int32
nodeId
String
namespaceIndex
Int32
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
Returns
IEnumerable<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, OpcReadNodeHistory command)
Parameters
command
OpcReadNodeHistory
Returns
IEnumerable<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, string nodeId)
Parameters
nodeId
String
Returns
IEnumerable<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, string nodeId, int namespaceIndex)
Parameters
nodeId
String
namespaceIndex
Int32
Returns
IEnumerable<OpcModifiedHistoryValue>
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, int nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeId
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, int nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeId
Int32
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, OpcNodeId nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeId
OpcNodeId
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, OpcReadNodeHistory command)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, string nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeId
String
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, string nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeId
String
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, int nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeId
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, int nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeId
Int32
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, OpcNodeId nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeId
OpcNodeId
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, OpcReadNodeHistory command)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, string nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeId
String
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, string nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeId
String
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, int nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
nodeId
Int32
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, OpcNodeId nodeId)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
nodeId
OpcNodeId
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, OpcReadNodeHistory command)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
command
OpcReadNodeHistory
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, string nodeId, int namespaceIndex)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
nodeId
String
namespaceIndex
Int32
Returns
Exceptions
C#
public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, OpcReadNodeHistory command)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
command
OpcReadNodeHistory
Returns
Exceptions
Reads the Value attribute of the nodes specified by nodeIds
.
C#
public IEnumerable<OpcValue> ReadNodes(IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
A sequence of OpcNodeId instances of the nodes to read.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds
sequence. There is for each node identifier one entry which stores the value requested.
Exceptions
The nodeIds
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodeIds
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads one or more values of one or more attributes of one or more nodes using the specified commands
.
C#
public IEnumerable<OpcValue> ReadNodes(IEnumerable<OpcReadNode> commands)
Parameters
commands
IEnumerable<OpcReadNode>
A sequence of OpcReadNode instances to process.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the commands
sequence. There is for each command one entry which stores the value requested by that command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the nodes specified by nodeIds
.
C#
public IEnumerable<OpcValue> ReadNodes(OpcAttribute attribute, IEnumerable<OpcNodeId> nodeIds)
Parameters
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
nodeIds
IEnumerable<OpcNodeId>
A sequence of OpcNodeId instances of the nodes to read.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds
sequence. There is for each node identifier one entry which stores the value requested.
Exceptions
The nodeIds
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodeIds
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the attribute
of the nodes specified by nodeIds
.
C#
public IEnumerable<OpcValue> ReadNodes(OpcAttribute attribute, params OpcNodeId[] nodeIds)
Parameters
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
nodeIds
OpcNodeId[]
An array of OpcNodeId instances of the nodes to read.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds
sequence. There is for each node identifier one entry which stores the value requested.
Exceptions
The nodeIds
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodeIds
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attribute of the nodes specified by nodeIds
.
C#
public IEnumerable<OpcValue> ReadNodes(params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
An array of OpcNodeId instances of the nodes to read.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds
sequence. There is for each node identifier one entry which stores the value requested.
Exceptions
The nodeIds
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodeIds
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads one or more values of one or more attributes of one or more nodes using the specified commands
.
C#
public IEnumerable<OpcValue> ReadNodes(params OpcReadNode[] commands)
Parameters
commands
OpcReadNode[]
An array of OpcReadNode instances to process.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the commands
sequence. There is for each command one entry which stores the value requested by that command.
Exceptions
The commands
array or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, IEnumerable<OpcReadNodeHistory> commands)
Parameters
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, params OpcReadNodeHistory[] commands)
Parameters
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, IEnumerable<OpcNodeId> nodeIds)
Parameters
time
DateTime
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, IEnumerable<OpcReadNodeHistory> commands)
Parameters
time
DateTime
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, params OpcNodeId[] nodeIds)
Parameters
time
DateTime
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, params OpcReadNodeHistory[] commands)
Parameters
time
DateTime
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, OpcHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, IEnumerable<OpcNodeId> nodeIds)
Parameters
times
DateTime[]
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, IEnumerable<OpcReadNodeHistory> commands)
Parameters
times
DateTime[]
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, params OpcNodeId[] nodeIds)
Parameters
times
DateTime[]
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, params OpcReadNodeHistory[] commands)
Parameters
times
DateTime[]
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, IEnumerable<OpcNodeId> nodeIds)
Parameters
times
IEnumerable<DateTime>
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, IEnumerable<OpcReadNodeHistory> commands)
Parameters
times
IEnumerable<DateTime>
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, params OpcNodeId[] nodeIds)
Parameters
times
IEnumerable<DateTime>
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, params OpcReadNodeHistory[] commands)
Parameters
times
IEnumerable<DateTime>
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, IEnumerable<OpcReadNodeHistory> commands)
Parameters
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)
Parameters
numberOfValues
Int32
nodeIds
IEnumerable<OpcNodeId>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)
Parameters
numberOfValues
Int32
commands
IEnumerable<OpcReadNodeHistory>
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcNodeId[] nodeIds)
Parameters
numberOfValues
Int32
nodeIds
OpcNodeId[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcReadNodeHistory[] commands)
Parameters
numberOfValues
Int32
commands
OpcReadNodeHistory[]
Returns
IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, params OpcReadNodeHistory[] commands)
Parameters
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, IEnumerable<OpcNodeId> nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, IEnumerable<OpcReadNodeHistory> commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, params OpcNodeId[] nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, params OpcReadNodeHistory[] commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
aggregateInterval
Double
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, IEnumerable<OpcNodeId> nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, IEnumerable<OpcReadNodeHistory> commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, params OpcNodeId[] nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, params OpcReadNodeHistory[] commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcAggregateType
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, IEnumerable<OpcNodeId> nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, IEnumerable<OpcReadNodeHistory> commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, params OpcNodeId[] nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, params OpcReadNodeHistory[] commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
aggregateInterval
Double
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, IEnumerable<OpcNodeId> nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
nodeIds
IEnumerable<OpcNodeId>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, IEnumerable<OpcReadNodeHistory> commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
commands
IEnumerable<OpcReadNodeHistory>
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, params OpcNodeId[] nodeIds)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
nodeIds
OpcNodeId[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
C#
public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, params OpcReadNodeHistory[] commands)
Parameters
startTime
DateTime
endTime
DateTime
aggregateType
OpcNodeId
commands
OpcReadNodeHistory[]
Returns
IDictionary<OpcNodeId, IEnumerable>
Exceptions
Reads the Value attribute of the node
specified.
C#
public OpcValue ReadNodeValue(IOpcNodeValue node)
Parameters
node
IOpcNodeValue
The IOpcNodeValue instance which represents the node its Value is to be read.
Returns
An instance of the OpcValue class which stores the value of the Value of the node described by the node
specified.
Exceptions
The node
is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the node
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attributes of the nodes
specified.
C#
public IEnumerable<OpcValue> ReadNodeValues(IEnumerable<IOpcNodeValue> nodes)
Parameters
nodes
IEnumerable<IOpcNodeValue>
A sequence of IOpcNodeValue instances which representing the nodes its Value is to be read.
Returns
A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodes
sequence. There is for each entry in nodes
one entry which stores the Value of the node described by the entry in nodes
specified.
Exceptions
The nodes
sequence or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodes
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Reads the Value attributes of the nodes
specified.
C#
public IEnumerable<OpcValue> ReadNodeValues(params IOpcNodeValue[] nodes)
Parameters
nodes
IOpcNodeValue[]
An array of IOpcNodeValue instances which representing the nodes its Value is to be read.
Returns
Exceptions
The nodes
array or one of its items is a null reference (Nothing in Visual Basic).
The read service is currently not supported, especially using the nodes
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.
Remarks
Known results for the operation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadDataEncodingInvalid | For more details see BadDataEncodingInvalid. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNotReadable | For more details see BadNotReadable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
Registers a node for optimized node access using the identifier of the node. A once registered node needs to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.
C#
public OpcNodeId RegisterNode(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the node to register can be identified.
Returns
An instance of the OpcNodeId class which is to be used for subsequent optimized node access. Use this identifier to release unused resources associated with the optimized node access using UnregisterNode(OpcNodeId) as soon as the optimized node access is not longer required.
Exceptions
The nodeId
is equals Null.
The nodeId
is a null reference (Nothing in Visual Basic).
The register node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
Registers a node for optimized node access using the command
specified.
C#
public OpcNodeId RegisterNode(OpcRegisterNode command)
Parameters
command
OpcRegisterNode
The OpcRegisterNode instance to process.
Returns
An instance of the OpcNodeId class which is to be used for subsequent optimized node access.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The register node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
Registers one or more nodes for optimized node access using the identifiers of the nodes its access shall be optimized. One registered nodes have to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.
C#
public OpcNodeIdCollection RegisterNodes(IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
A sequence of OpcNodeId instances through that the nodes to register can be identified.
Returns
A collection of OpcNodeId instances its items are to be used for subsequent optimized node access. Use these identifiers to release unused resources assoicated with the optimized node access using UnregisterNodes(IEnumerable) as soon as the optimized node access is not longer required.
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The register node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
Registers one or more nodes for optimized node access using the specified commands
.
C#
public OpcNodeIdCollection RegisterNodes(IEnumerable<OpcRegisterNode> commands)
Parameters
commands
IEnumerable<OpcRegisterNode>
A sequence of OpcRegisterNode instances to process.
Returns
A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands
sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The register nodes service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
Registers one or more nodes for optimized node access using the identifiers of the nodes its access shall be optimized. One registered nodes have to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.
C#
public OpcNodeIdCollection RegisterNodes(params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
An array of OpcNodeId instances through that the nodes to register can be identified.
Returns
A collection of OpcNodeId instances its items are to be used for subsequent optimized node access. Use these identifiers to release unused resources assoicated with the optimized node access using UnregisterNodes(IEnumerable) as soon as the optimized node access is not longer required.
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The register node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the service invocation are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
Registers one or more nodes for optimized node access using the specified commands
.
C#
public OpcNodeIdCollection RegisterNodes(params OpcRegisterNode[] commands)
Parameters
commands
OpcRegisterNode[]
A sequence of OpcRegisterNode instances to process.
Returns
A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands
sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The register nodes service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
C#
public OpcStatusCollection ReplaceNodeHistory(int nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection ReplaceNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection ReplaceNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
OpcNodeId
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection ReplaceNodeHistory(OpcReplaceNodeHistory command)
Parameters
command
OpcReplaceNodeHistory
Returns
Exceptions
C#
public OpcStatusCollection ReplaceNodeHistory(string nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
String
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection ReplaceNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
String
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> ReplaceNodesHistory(IEnumerable<OpcReplaceNodeHistory> commands)
Parameters
commands
IEnumerable<OpcReplaceNodeHistory>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> ReplaceNodesHistory(params OpcReplaceNodeHistory[] commands)
Parameters
commands
OpcReplaceNodeHistory[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
filter
OpcDataChangeFilter
The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes data changes on the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
trigger
OpcDataChangeTrigger
The conditions used by the server under which a data change is to be reported.
received
OpcDataChangeReceivedEventHandler
The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(byte[] nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(Guid nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(int nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(int nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(string nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(string nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(uint nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
filter
OpcEventFilter
The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes events on the node specified by nodeId
.
C#
public OpcSubscription SubscribeEvent(uint nodeId, OpcEventReceivedEventHandler received)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
received
OpcEventReceivedEventHandler
The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(byte[] nodeId)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcMonitoringFilter filter)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(byte[] nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
Byte[]
The opaque node identifier of the node to subscribe.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(Guid nodeId)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcMonitoringFilter filter)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(Guid nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
Guid
The general unique identifier (= GUID) of the node to subscribe.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(int nodeId)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcMonitoringFilter filter)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(int nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
Int32
The numeric node identifier of the node to subscribe.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute
.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The nodeId
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Creates a OpcSubscription using the OpcMonitoredItem setup defined by the command
specified.
C#
public OpcSubscription SubscribeNode(OpcSubscribeNode command)
Parameters
command
OpcSubscribeNode
A OpcSubscribeNode command which is used to define the OpcMonitoredItem used by the OpcSubscription created.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the command
.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(string nodeId)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcMonitoringFilter filter)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(string nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
String
The textual node identifier of the node to subscribe.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(uint nodeId)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified to operate on the Value attribute.
C#
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified to operate on the attribute
.
C#
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcAttribute attribute)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
and namespaceIndex
specified.
C#
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcMonitoringFilter filter)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the attribute
of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Subscribes the Value attribute of the node specified by nodeId
.
C#
public OpcSubscription SubscribeNode(uint nodeId, OpcMonitoringFilter filter)
Parameters
nodeId
UInt32
The numeric node identifier of the node to subscribe.
filter
OpcMonitoringFilter
The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.
Returns
A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.
Exceptions
The nodeId
is empty.
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Creates a OpcSubscription using the OpcMonitoredItem setup defined by the commands
specified.
C#
public OpcSubscription SubscribeNodes(IEnumerable<OpcSubscribeNode> commands)
Parameters
commands
IEnumerable<OpcSubscribeNode>
A sequence of OpcSubscribeNode commands which are used to define the OpcMonitoredItem's used by the OpcSubscription created.
Returns
A new instance of the OpcSubscription class with OpcMonitoredItem's setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the different OpcSubscribeNode commands.
Exceptions
The commands
or one of the items in the sequence is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Creates a OpcSubscription using the OpcMonitoredItem setup defined by the commands
specified.
C#
public OpcSubscription SubscribeNodes(params OpcSubscribeNode[] commands)
Parameters
commands
OpcSubscribeNode[]
An array of OpcSubscribeNode commands which are used to define the OpcMonitoredItem's used by the OpcSubscription created.
Returns
A new instance of the OpcSubscription class with OpcMonitoredItem's setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the different OpcSubscribeNode commands.
Exceptions
The commands
or one of the items in the array is a null reference (Nothing in Visual Basic).
The subscription service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.
Translates a path starting from the root node using the pathElements
specified.
C#
public OpcNodeId TranslatePath(IEnumerable<OpcName> pathElements)
Parameters
pathElements
IEnumerable<OpcName>
A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the root node using the pathElements
specified.
C#
public OpcNodeId TranslatePath(IEnumerable<OpcRelativePathElement> pathElements)
Parameters
pathElements
IEnumerable<OpcRelativePathElement>
A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the root node using the pathElements
specified.
C#
public OpcNodeId TranslatePath(params OpcName[] pathElements)
Parameters
pathElements
OpcName[]
An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the node identified by the nodeId
specified using the pathElements
passed.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, IEnumerable<OpcName> pathElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathElements
.
pathElements
IEnumerable<OpcName>
A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the node identified by the nodeId
specified using the pathElements
passed.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, IEnumerable<OpcRelativePathElement> pathElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathElements
.
pathElements
IEnumerable<OpcRelativePathElement>
A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the node identified by the nodeId
specified using the pathElements
passed.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, params OpcName[] pathElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathElements
.
pathElements
OpcName[]
An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the path
starting from the node identified by the nodeId
specified.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, OpcRelativePath path)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the path
.
path
OpcRelativePath
The OpcRelativePath to the OpcNodeId requested by the service.
Returns
The target identifier the path
was translated to or a null reference (Nothing in Visual Basic) if the path
could not translated.
Exceptions
The path
is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the path
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the node identified by the nodeId
specified using the pathElements
passed.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, params OpcRelativePathElement[] pathElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathElements
.
pathElements
OpcRelativePathElement[]
An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the path
starting from the node identified by the nodeId
specified.
C#
public OpcNodeId TranslatePath(OpcNodeId nodeId, string path)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the path
.
path
String
A String representing a OpcRelativePath to the OpcNodeId requested by the service.
Returns
The target identifier the path
was translated to or a null reference (Nothing in Visual Basic) if the path
could not translated.
Exceptions
The path
is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the path
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the root node using the pathElements
specified.
C#
public OpcNodeId TranslatePath(params OpcRelativePathElement[] pathElements)
Parameters
pathElements
OpcRelativePathElement[]
An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements
to the OpcNodeId requested by the service.
Returns
The target identifier the pathElements
were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.
Exceptions
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from a dedicated node using the command
specified.
C#
public OpcTranslatePathResult TranslatePath(OpcTranslatePath command)
Parameters
command
OpcTranslatePath
The OpcTranslatePath instance to process.
Returns
An instance of the OpcTranslatePathResult class which contains the target identifier the path has been translated to through the command
specified; together with information about the outcome of the processed command.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the path
starting from the root node.
C#
public OpcNodeId TranslatePath(string path)
Parameters
path
String
A String representing a OpcRelativePath to the OpcNodeId requested by the service.
Returns
The target identifier the path
was translated to or a null reference (Nothing in Visual Basic) if the path
could not translated.
Exceptions
The path
is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the path
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the root node using the pathsElements
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<IEnumerable<OpcName>> pathsElements)
Parameters
pathsElements
IEnumerable<IEnumerable>
A sequence of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the root node using the pathsElements
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)
Parameters
pathsElements
IEnumerable<IEnumerable>
A sequence of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the root node using the pathsElements
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(params IEnumerable<OpcName>[] pathsElements)
Parameters
pathsElements
IEnumerable<OpcName>[]
An array of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates a path starting from the root node using the pathsElements
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(params IEnumerable<OpcRelativePathElement>[] pathsElements)
Parameters
pathsElements
IEnumerable<OpcRelativePathElement>[]
An array of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates one or more paths starting from one or more dedicated nodes using the specified commands
.
C#
public OpcTranslatePathResultCollection TranslatePaths(IEnumerable<OpcTranslatePath> commands)
Parameters
commands
IEnumerable<OpcTranslatePath>
A sequence of OpcTranslatePath instances to process.
Returns
OpcTranslatePathResultCollection
An instance of the OpcTranslatePathResultCollection class which contains the target identifiers the paths were translated to through the commands
specified; together with information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the commands
specified.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the root node.
C#
public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<string> paths)
Parameters
paths
IEnumerable<String>
A sequence of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the node identified by the nodeId
specified using the pathsElements
passed.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<IEnumerable<OpcName>> pathsElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathsElements
.
pathsElements
IEnumerable<IEnumerable>
A sequence of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the node identified by the nodeId
specified using the pathsElements
passed.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathsElements
.
pathsElements
IEnumerable<IEnumerable>
A sequence of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence of pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the node identified by the nodeId
specified using the pathsElements
passed.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params IEnumerable<OpcName>[] pathsElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathsElements
.
pathsElements
IEnumerable<OpcName>[]
An array of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the node identified by the nodeId
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<OpcRelativePath> paths)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the paths
.
paths
IEnumerable<OpcRelativePath>
A sequence of OpcRelativePath instances to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates paths starting from the node identified by the nodeId
specified using the pathsElements
passed.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params IEnumerable<OpcRelativePathElement>[] pathsElements)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the pathsElements
.
pathsElements
IEnumerable<OpcRelativePathElement>[]
An array of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence of pathsElements
to the OpcNodeIds requested by the service.
Returns
The target identifiers the pathsElements
could translated to.
Exceptions
The pathsElements
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the pathsElements
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the node identified by the nodeId
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<string> paths)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the paths
.
paths
IEnumerable<String>
A sequence of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the node identified by the nodeId
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params OpcRelativePath[] paths)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the paths
.
paths
OpcRelativePath[]
An array of OpcRelativePath instances to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the node identified by the nodeId
specified.
C#
public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params string[] paths)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node on which the service will translate the paths
.
paths
String[]
An array of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates one or more paths starting from one or more dedicated nodes using the specified commands
.
C#
public OpcTranslatePathResultCollection TranslatePaths(params OpcTranslatePath[] commands)
Parameters
commands
OpcTranslatePath[]
An array of OpcTranslatePath instances to process.
Returns
OpcTranslatePathResultCollection
An instance of the OpcTranslatePathResultCollection class which contains the target identifiers the paths were translated to through the commands
specified; together with information about the outcome of each processed command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the commands
specified.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Translates the paths
starting from the root node.
C#
public IEnumerable<OpcNodeId> TranslatePaths(params string[] paths)
Parameters
paths
String[]
An array of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.
Returns
The target identifiers the paths
could translated to.
Exceptions
The paths
or one of its items is a null reference (Nothing in Visual Basic).
The translate path service is currently not supported, especially using the paths
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for this method are:
Status | Description |
---|---|
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadNothingToDo | This code indicates that the relativePath contained an empty list. |
BadBrowseNameInvalid | This code indicates that a TargetName was missing in a RelativePath. |
UncertainReferenceOutOfServer | The path element has targets which are in another server. |
BadTooManyMatches | The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code. |
BadQueryTooComplex | The requested operation requires too many resources in the server. |
BadNoMatch | The requested relativePath cannot be resolved to a target to return. |
Unregisters a node to not longer optimize its node access using the identifier of the node. The node access to a once unregistered node is not longer optimized.
C#
public void UnregisterNode(OpcNodeId nodeId)
Parameters
nodeId
OpcNodeId
The OpcNodeId through that the node to unregister can be identified.
Exceptions
The nodeId
is equals Null.
The nodeId
is a null reference (Nothing in Visual Basic).
The unregister node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Unregisters a node to not longer optimize its node access using the command
specified.
C#
public void UnregisterNode(OpcUnregisterNode command)
Parameters
command
OpcUnregisterNode
The OpcUnregisterNode instance to process.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The unregister node service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.
C#
public void UnregisterNodes(IEnumerable<OpcNodeId> nodeIds)
Parameters
nodeIds
IEnumerable<OpcNodeId>
A sequence of OpcNodeId instances through that the nodes to unregister can be identified.
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The unregister node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Unregisters one or more nodes to not longer optimize their node access using the specified commands
.
C#
public void UnregisterNodes(IEnumerable<OpcUnregisterNode> commands)
Parameters
commands
IEnumerable<OpcUnregisterNode>
A sequence of OpcUnregisterNode instances to process.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The unregister nodes service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.
C#
public void UnregisterNodes(params OpcNodeId[] nodeIds)
Parameters
nodeIds
OpcNodeId[]
An array of OpcNodeId instances through that the nodes to unregister can be identified.
Exceptions
One of the OpcNodeId instances in nodeIds
is equals Null.
The nodeIds
is a null reference (Nothing in Visual Basic).
The unregister node service is currently not supported, especially using the parameters specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Unregisters one or more nodes to not longer optimize their node access using the specified commands
.
C#
public void UnregisterNodes(params OpcUnregisterNode[] commands)
Parameters
commands
OpcUnregisterNode[]
An array of OpcUnregisterNode instances to process.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The unregister nodes service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.
C#
public OpcStatusCollection UpdateNodeHistory(int nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
Int32
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(OpcNodeHistoryCommand command)
Parameters
command
OpcNodeHistoryCommand
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
OpcNodeId
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(OpcUpdateNodeHistory command)
Parameters
command
OpcUpdateNodeHistory
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(string nodeId, IEnumerable<OpcValue> values)
Parameters
nodeId
String
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public OpcStatusCollection UpdateNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)
Parameters
nodeId
String
namespaceIndex
Int32
values
IEnumerable<OpcValue>
Returns
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(IEnumerable<OpcNodeHistoryCommand> commands)
Parameters
commands
IEnumerable<OpcNodeHistoryCommand>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(IEnumerable<OpcUpdateNodeHistory> commands)
Parameters
commands
IEnumerable<OpcUpdateNodeHistory>
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(params OpcNodeHistoryCommand[] commands)
Parameters
commands
OpcNodeHistoryCommand[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
C#
public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(params OpcUpdateNodeHistory[] commands)
Parameters
commands
OpcUpdateNodeHistory[]
Returns
IDictionary<OpcNodeId, OpcStatusCollection>
Exceptions
Writes the value
to the Value attribute of the node specified by nodeId
and namespaceIndex
.
C#
public OpcStatus WriteNode(int nodeId, int namespaceIndex, object value)
Parameters
nodeId
Int32
The numeric node identifier of the node to write to.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the attribute
of the node specified by nodeId
and namespaceIndex
.
C#
public OpcStatus WriteNode(int nodeId, int namespaceIndex, OpcAttribute attribute, object value)
Parameters
nodeId
Int32
The numeric node identifier of the node to write to.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
value
Object
The data to write to the attribute
.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is equals zero.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the Value attribute of the node specified by nodeId
.
C#
public OpcStatus WriteNode(int nodeId, object value)
Parameters
nodeId
Int32
The numeric node identifier of the node to write to.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is equals to zero.
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the attribute
of the node specified by nodeId
.
C#
public OpcStatus WriteNode(int nodeId, OpcAttribute attribute, object value)
Parameters
nodeId
Int32
The numeric node identifier of the node to write to.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
value
Object
The data to write to the attribute
.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is equals zero.
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the Value attribute of the node specified by nodeId
.
C#
public OpcStatus WriteNode(OpcNodeId nodeId, object value)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node to write to.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
indicates to be a null-node-id (see IsNull).
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the attribute
of the node specified by nodeId
.
C#
public OpcStatus WriteNode(OpcNodeId nodeId, OpcAttribute attribute, object value)
Parameters
nodeId
OpcNodeId
The OpcNodeId of the node to write to.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
indicates to be a null-node-id (see IsNull).
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes one value to one attribute of one node using the specified command
.
C#
public OpcStatus WriteNode(OpcWriteNode command)
Parameters
command
OpcWriteNode
The OpcWriteNode instance to process.
Returns
An instance of the OpcStatus class which indicates the outcome of the operation for the command
.
Exceptions
The command
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the command
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the command
specified are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the Value attribute of the node specified by nodeId
and namespaceIndex
.
C#
public OpcStatus WriteNode(string nodeId, int namespaceIndex, object value)
Parameters
nodeId
String
The textual node identifier of the node to write to.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the attribute
of the node specified by nodeId
and namespaceIndex
.
C#
public OpcStatus WriteNode(string nodeId, int namespaceIndex, OpcAttribute attribute, object value)
Parameters
nodeId
String
The textual node identifier of the node to write to.
namespaceIndex
Int32
The index of the namespace within that the node with the nodeId
specified can be located.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
value
Object
The data to write to the attribute
.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the Value attribute of the node specified by nodeId
.
C#
public OpcStatus WriteNode(string nodeId, object value)
Parameters
nodeId
String
The textual node identifier of the node to write to.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the value
to the attribute
of the node specified by nodeId
.
C#
public OpcStatus WriteNode(string nodeId, OpcAttribute attribute, object value)
Parameters
nodeId
String
The textual node identifier of the node to write to.
attribute
OpcAttribute
One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.
value
Object
The data to write to the attribute
.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The nodeId
is an empty string.
The nodeId
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the arguments specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes one or more values to one or more attributes of one or more nodes using the specified commands
.
C#
public OpcStatusCollection WriteNodes(IEnumerable<OpcWriteNode> commands)
Parameters
commands
IEnumerable<OpcWriteNode>
A sequence of OpcWriteNode instances to process.
Returns
An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the commands
sequence. There is for each command one entry which indicates the outcome of the operation for that command.
Exceptions
The commands
sequence or one of its items is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes one or more values to one or more attributes of one or more nodes using the specified commands
.
C#
public OpcStatusCollection WriteNodes(params OpcWriteNode[] commands)
Parameters
commands
OpcWriteNode[]
An array of OpcWriteNode instances to process.
Returns
An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the commands
commands. There is for each command one entry which indicates the outcome of the operation for that command.
Exceptions
The commands
array or one of its items is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the commands
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the commands
specified are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the Value attribute of the node
using the further specified value
.
C#
public OpcStatus WriteNodeValue(IOpcNodeValue node, object value)
Parameters
node
IOpcNodeValue
The IOpcNodeValue instance which represents the node its Value is to be written.
value
Object
The data to write to the Value attribute.
Returns
An instance of the OpcStatus class which indicates the outcome of the write operation.
Exceptions
The node
is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the node
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the Value attributes using the nodes and values in the nodeValues
specified.
C#
public OpcStatusCollection WriteNodeValues(IEnumerable<OpcNodeValuePair> nodeValues)
Parameters
nodeValues
IEnumerable<OpcNodeValuePair>
A sequence of OpcNodeValuePair items which represents the nodes its Value is to be written using the further defined values.
Returns
An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the nodeValues
sequence. There is for each item one entry which indicates the outcome of the operation for the OpcNodeValuePair item.
Exceptions
The nodeValues
sequence or one of its items is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the nodeValues
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |
Writes the Value attributes using the nodeValues
specified.
C#
public OpcStatusCollection WriteNodeValues(params OpcNodeValuePair[] nodeValues)
Parameters
nodeValues
OpcNodeValuePair[]
An array of OpcNodeValuePair items representing the nodes and values which are written to their Value attribute.
Returns
An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the nodeValues
array. There is for each entry in nodeValues
one entry which indicates the outcome of the operation for that node.
Exceptions
The nodeValues
array or one of its items is a null reference (Nothing in Visual Basic).
The write service is currently not supported, especially using the nodeValues
specified.
The object has been disposed of.
The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.
Remarks
Known results for the operation are:
Status | Description |
---|---|
GoodCompletesAsynchronously | The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly. |
BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
BadAttributeInvalid | For more details see BadAttributeInvalid. |
BadIndexRangeInvalid | For more details see BadIndexRangeInvalid. |
BadIndexRangeNoData | For more details see BadIndexRangeNoData. |
BadWriteNotSupported | The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node. |
BadNotWritable | For more details see BadNotWritable. |
BadUserAccessDenied | For more details see BadUserAccessDenied. |
BadOutOfRange | If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node. |
BadTypeMismatch | For more details see BadTypeMismatch. |
BadDataEncodingUnsupported | For more details see BadDataEncodingUnsupported. |
BadNoCommunication | For more details see BadNoCommunication. |