Reference
OpcClient.UpdateNodeHistory Method
Updates the history of the node as defined by the command specified.
Reference
OpcClient.UpdateNodeHistory 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 |
|---|---|
| Update | Updates the history of the node as defined by the command specified. |
| Update | Updates the history of the node as defined by the command specified. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it. |
| Update | Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The client is not connected to the server or the service execution failed upon different circumstances; for more details see exception details. |
| Object | The object has been disposed of. |
UpdateNodeHistory(OpcNodeHistoryCommand)
Updates the history of the node as defined by the command specified.
public OpcStatusCollection UpdateNodeHistory(OpcNodeHistoryCommand command)Public Function UpdateNodeHistory(
command As OpcNodeHistoryCommand) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
command | Opc | The Opc |
Returns
An OpcStatusCollection with the OpcStatus instances the server reports for the command or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |
UpdateNodeHistory(OpcUpdateNodeHistory)
Updates the history of the node as defined by the command specified.
public OpcStatusCollection UpdateNodeHistory(OpcUpdateNodeHistory command)Public Function UpdateNodeHistory(
command As OpcUpdateNodeHistory) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
command | Opc | The Opc |
Returns
An OpcStatusCollection with the OpcStatus instances the server reports for the command or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command or one of the values of the command is a null reference ( |
UpdateNodeHistory(OpcNodeId, OpcValue)
Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it.
public OpcStatus UpdateNodeHistory(OpcNodeId nodeId, OpcValue value)Public Function UpdateNodeHistory(
nodeId As OpcNodeId,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
value | OpcValue | The OpcValue to insert into the history of the node or to replace the existing entry with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the value is a null reference ( |
UpdateNodeHistory(OpcNodeId, IEnumerable<OpcValue>)
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
OpcNodeId nodeId,
IEnumerable<OpcValue> values)Public Function UpdateNodeHistory(
nodeId As OpcNodeId,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the values sequence or one of its items is a null reference ( |
UpdateNodeHistory(OpcNodeId, params OpcValue[])
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
OpcNodeId nodeId,
params OpcValue[] values)Public Function UpdateNodeHistory(
nodeId As OpcNodeId,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the values array or one of its items is a null reference ( |
UpdateNodeHistory(string, OpcValue)
Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it.
public OpcStatus UpdateNodeHistory(string nodeId, OpcValue value)Public Function UpdateNodeHistory(
nodeId As String,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
value | OpcValue | The OpcValue to insert into the history of the node or to replace the existing entry with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The value is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
UpdateNodeHistory(string, IEnumerable<OpcValue>)
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
string nodeId,
IEnumerable<OpcValue> values)Public Function UpdateNodeHistory(
nodeId As String,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values sequence or one of its items is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
UpdateNodeHistory(string, params OpcValue[])
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
string nodeId,
params OpcValue[] values)Public Function UpdateNodeHistory(
nodeId As String,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values array or one of its items is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
UpdateNodeHistory(int, OpcValue)
Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it.
public OpcStatus UpdateNodeHistory(int nodeId, OpcValue value)Public Function UpdateNodeHistory(
nodeId As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
value | OpcValue | The OpcValue to insert into the history of the node or to replace the existing entry with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The value is a null reference ( |
UpdateNodeHistory(int, IEnumerable<OpcValue>)
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
int nodeId,
IEnumerable<OpcValue> values)Public Function UpdateNodeHistory(
nodeId As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values sequence or one of its items is a null reference ( |
UpdateNodeHistory(int, params OpcValue[])
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
int nodeId,
params OpcValue[] values)Public Function UpdateNodeHistory(
nodeId As Integer,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values array or one of its items is a null reference ( |
UpdateNodeHistory(string, int, OpcValue)
Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it.
public OpcStatus UpdateNodeHistory(
string nodeId,
int namespaceIndex,
OpcValue value)Public Function UpdateNodeHistory(
nodeId As String,
namespaceIndex As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
value | OpcValue | The OpcValue to insert into the history of the node or to replace the existing entry with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The value is a null reference ( |
UpdateNodeHistory(string, int, IEnumerable<OpcValue>)
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
string nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function UpdateNodeHistory(
nodeId As String,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values sequence or one of its items is a null reference ( |
UpdateNodeHistory(string, int, params OpcValue[])
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
string nodeId,
int namespaceIndex,
params OpcValue[] values)Public Function UpdateNodeHistory(
nodeId As String,
namespaceIndex As Integer,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | params OpcValue[] | An array of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values array or one of its items is a null reference ( |
UpdateNodeHistory(int, int, OpcValue)
Updates the history of the node identified by the nodeId specified by inserting the value specified as a new entry or by replacing the existing entry by it.
public OpcStatus UpdateNodeHistory(
int nodeId,
int namespaceIndex,
OpcValue value)Public Function UpdateNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
value | OpcValue | The OpcValue to insert into the history of the node or to replace the existing entry with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The value is a null reference ( |
UpdateNodeHistory(int, int, IEnumerable<OpcValue>)
Updates the history of the node identified by the nodeId specified by inserting the values specified as new entries or by replacing the existing entries by them.
public OpcStatusCollection UpdateNodeHistory(
int nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function UpdateNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to insert into the history of the node or to replace the existing entries with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values sequence or one of its items is a null reference ( |

