EasyUA Reference
BeginHistoryReadAtTime(IList<HistoryReadValueId>,ReadAtTimeDetails,AsyncCallback,Object) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Session Class > BeginHistoryReadAtTime Method : BeginHistoryReadAtTime(IList<HistoryReadValueId>,ReadAtTimeDetails,AsyncCallback,Object) Method

nodesToRead
List of variable nodes to read data values at specified timestamps from.
details
Configuration parameters for the history read of data at specified timestamps. Configuration parameters include - Array of timestamps for which values are to be read - Flag for bounding value calculation
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.

Glossary Item Box

Reads the history of item values asynchronously from the OPC server for the given timestamps.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As Session
Dim nodesToRead As IList(Of HistoryReadValueId)
Dim details As ReadAtTimeDetails
Dim callback As AsyncCallback
Dim userData As Object
Dim value As IAsyncResult
 
value = instance.BeginHistoryReadAtTime(nodesToRead, details, callback, userData)
C# 
public IAsyncResult BeginHistoryReadAtTime( 
   IList<HistoryReadValueId> nodesToRead,
   ReadAtTimeDetails details,
   AsyncCallback callback,
   object userData
)

Parameters

nodesToRead
List of variable nodes to read data values at specified timestamps from.
details
Configuration parameters for the history read of data at specified timestamps. Configuration parameters include - Array of timestamps for which values are to be read - Flag for bounding value calculation
callback
The callback to use when the async call completes.
userData
The user data that is passed to the callback.

Return Value

An object which must be passed to the EndHistoryReadAtTime() method.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.