Reference
OpcClient.ReadNodeValues Method
Reads the Value attributes of the nodes specified.
Reference
OpcClient.ReadNodeValues 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
| Overload | Description |
|---|---|
| ReadNodeValues( | Reads the Value attributes of the nodes specified. |
| ReadNodeValues( | Reads the Value attributes of the nodes specified. |
Known results: BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadNotReadable, BadUserAccessDenied
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | The read service is currently not supported, especially using the nodes specified. |
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, Bad |
ReadNodeValues(IEnumerable<IOpcNodeValue>)
Reads the Value attributes of the nodes specified.
csharp
public IEnumerable<OpcValue> ReadNodeValues(IEnumerable<IOpcNodeValue> nodes)vbnet
Public Function ReadNodeValues(
nodes As IEnumerable(Of IOpcNodeValue)) As IEnumerable(Of OpcValue)Parameters
| Name | Type | Description |
|---|---|---|
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
| Exception | Condition |
|---|---|
| Argument | The nodes sequence or one of its items is a null reference ( |
ReadNodeValues(params IOpcNodeValue[])
Reads the Value attributes of the nodes specified.
csharp
public IEnumerable<OpcValue> ReadNodeValues(params IOpcNodeValue[] nodes)vbnet
Public Function ReadNodeValues(
ParamArray nodes As IOpcNodeValue()) As IEnumerable(Of OpcValue)Parameters
| Name | Type | Description |
|---|---|---|
nodes | params IOpcNodeValue[] | An array of IOpcNodeValue instances which representing the nodes its Value is to be read. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodes array or one of its items is a null reference ( |

