Skip to content

Reference

IOpcReadNodesHistoryService Members

Defines a specialized IOpcService<TResponse, TRequest> which can be used to read historical data of one or more nodes.

Reference

IOpcReadNodesHistoryService Members ​

Type
IOpcReadNodesHistoryService
Namespace
Opc.UaFx.Services
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from IOpcService<OpcReadNodesHistoryResponse, OpcReadNodesHistoryRequest>.

Properties ​

TimestampsToReturn ​

since v2.11

Gets or sets the OpcTimestampsToReturn to use to request historical data from the server.

csharp
OpcTimestampsToReturn? TimestampsToReturn { get; set; }
vbnet
Property TimestampsToReturn As OpcTimestampsToReturn?

Property value

Nullable<OpcTimestampsToReturn>

One of the members defined by the OpcTimestampsToReturn enumeration; otherwise a null reference (Nothing in Visual Basic). In case there the value is a null reference (Nothing in Visual Basic) the TimestampsToReturn of the OpcReadNodesHistoryRequest to process is used. The default value of this property is a null reference (Nothing in Visual Basic).

Methods ​

ReadNodesHistory ​

2 overloads

OverloadDescription
ReadNodesHistory(OpcReadHistoryDetails, IEnumerable<HistoryReadValueId>)
ReadNodesHistory(OpcReadHistoryDetails, params HistoryReadValueId[])

Exceptions (all overloads)

ExceptionCondition
ArgumentNullException
InvalidOperationException
OpcException

ReadNodesHistory(OpcReadHistoryDetails, IEnumerable<HistoryReadValueId>) ​

csharp
HistoryReadResultCollection ReadNodesHistory(
    OpcReadHistoryDetails details,
    IEnumerable<HistoryReadValueId> nodesToRead)
vbnet
Function ReadNodesHistory(
    details As OpcReadHistoryDetails,
    nodesToRead As IEnumerable(Of HistoryReadValueId)) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadHistoryDetails
nodesToReadIEnumerable<HistoryReadValueId>

Returns

HistoryReadResultCollection

ReadNodesHistory(OpcReadHistoryDetails, params HistoryReadValueId[]) ​

csharp
HistoryReadResultCollection ReadNodesHistory(
    OpcReadHistoryDetails details,
    params HistoryReadValueId[] nodesToRead)
vbnet
Function ReadNodesHistory(
    details As OpcReadHistoryDetails,
    ParamArray nodesToRead As HistoryReadValueId()) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadHistoryDetails
nodesToReadparams HistoryReadValueId[]

Returns

HistoryReadResultCollection

ReadNodesHistoryModified ​

2 overloads

OverloadDescription
ReadNodesHistoryModified(OpcReadHistoryDetails, IEnumerable<HistoryReadValueId>)
ReadNodesHistoryModified(OpcReadHistoryDetails, params HistoryReadValueId[])

Exceptions (all overloads)

ExceptionCondition
ArgumentNullException
InvalidOperationException
OpcException

ReadNodesHistoryModified(OpcReadHistoryDetails, IEnumerable<HistoryReadValueId>) ​

csharp
HistoryReadResultCollection ReadNodesHistoryModified(
    OpcReadHistoryDetails details,
    IEnumerable<HistoryReadValueId> nodesToRead)
vbnet
Function ReadNodesHistoryModified(
    details As OpcReadHistoryDetails,
    nodesToRead As IEnumerable(Of HistoryReadValueId)) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadHistoryDetails
nodesToReadIEnumerable<HistoryReadValueId>

Returns

HistoryReadResultCollection

ReadNodesHistoryModified(OpcReadHistoryDetails, params HistoryReadValueId[]) ​

csharp
HistoryReadResultCollection ReadNodesHistoryModified(
    OpcReadHistoryDetails details,
    params HistoryReadValueId[] nodesToRead)
vbnet
Function ReadNodesHistoryModified(
    details As OpcReadHistoryDetails,
    ParamArray nodesToRead As HistoryReadValueId()) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadHistoryDetails
nodesToReadparams HistoryReadValueId[]

Returns

HistoryReadResultCollection