Reference
OpcClient.CreateNodeHistory Method
Creates historical values of the node as defined by the command specified.
Reference
OpcClient.CreateNodeHistory 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 |
|---|---|
| Create | Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node. |
| Create | Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node. |
| Create | Creates historical values of the node as defined by the command specified. |
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. |
CreateNodeHistory(OpcNodeId, OpcValue)
Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node.
public OpcStatus CreateNodeHistory(OpcNodeId nodeId, OpcValue value)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(OpcNodeId, IEnumerable<OpcValue>)
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
OpcNodeId nodeId,
IEnumerable<OpcValue> values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(OpcNodeId, params OpcValue[])
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
OpcNodeId nodeId,
params OpcValue[] values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, OpcValue)
Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node.
public OpcStatus CreateNodeHistory(string nodeId, OpcValue value)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, IEnumerable<OpcValue>)
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
string nodeId,
IEnumerable<OpcValue> values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, params OpcValue[])
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
string nodeId,
params OpcValue[] values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(int, OpcValue)
Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node.
public OpcStatus CreateNodeHistory(int nodeId, OpcValue value)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(int, IEnumerable<OpcValue>)
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
int nodeId,
IEnumerable<OpcValue> values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(int, params OpcValue[])
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
int nodeId,
params OpcValue[] values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, int, OpcValue)
Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node.
public OpcStatus CreateNodeHistory(
string nodeId,
int namespaceIndex,
OpcValue value)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, int, IEnumerable<OpcValue>)
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
string nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(string, int, params OpcValue[])
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
string nodeId,
int namespaceIndex,
params OpcValue[] values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(int, int, OpcValue)
Creates a historical value of the node identified by the nodeId specified by inserting the value specified as a new entry into the history of the node.
public OpcStatus CreateNodeHistory(
int nodeId,
int namespaceIndex,
OpcValue value)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(int, int, IEnumerable<OpcValue>)
Creates historical values of the node identified by the nodeId specified by inserting the values specified as new entries into the history of the node.
public OpcStatusCollection CreateNodeHistory(
int nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function CreateNodeHistory(
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. |
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 ( |
CreateNodeHistory(OpcCreateNodeHistory)
Creates historical values of the node as defined by the command specified.
public OpcStatusCollection CreateNodeHistory(OpcCreateNodeHistory command)Public Function CreateNodeHistory(
command As OpcCreateNodeHistory) 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 ( |

