readAtTime
Read data from an OPC HDA server at specified times
Syntax
Description
reads data from the items defined by dObj = readAtTime(hdaClient,itmList,timeStamps)itmList, from the OPC HDA Server
associated with client object hdaClient, at the timestamps specified by
timeStamps.
When no value exists for a specified timestamp, the server will interpolate a value from
the surrounding values to represent the value at that timestamp, and the
Quality for that timestamp will include the
Interpolated bit.
[
returns the itmList,value,quality,timeStamp]
= readAtTime(hdaClient,itmList,timeStamps,dataType)value in the specified dataType along with
the corresponding item ID, quality ID and
timestamp.
returns a structure containing the fields S = readAtTime(hdaClient,itmList,timeStamps,'struct')ItemID,
Value, Quality and
TimeStamp.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b