Skip to content

Reference

OpcClient.ReadNodeValue Method

Reads the Value attribute of the node specified.

Reference

OpcClient.ReadNodeValue Method ​

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

since v2.8

Reads the Value attribute of the node specified.

csharp
public OpcValue ReadNodeValue(IOpcNodeValue node)
vbnet
Public Function ReadNodeValue(node As IOpcNodeValue) As OpcValue

Parameters

NameTypeDescription
nodeIOpcNodeValueThe IOpcNodeValue instance which represents the node its Value is to be read.

Returns

OpcValue

An instance of the OpcValue class which stores the value of the Value of the node described by the node specified.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe node is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe read service is currently not supported, especially using the node specified.
ObjectDisposedExceptionThe object has been disposed of.
OpcExceptionThe 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.

Known results: BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadNotReadable, BadUserAccessDenied