readRaw
Read raw data of specified time range from HDA server
Syntax
Description
reads data from the items defined by DObj
= readRaw(HdaClient
,ItmList
,StartTime,EndTime
)ItmList
, stored on the OPC HDA
server connected to OPC HDA client HdaClient
, between
StartTime
(inclusive) and EndTime
(exclusive).
DObj
is returned as an opc.hda.Data
array, with one element per item specified in
ItmList
.
allows you to specify boundary extension. If DObj
= readRaw(HdaClient
,ItmList
,StartTime,EndTime
,ExtendedBounds
)ExtendedBounds
is
true
, then the first data point on or outside the defined start and end
times is returned. If ExtendedBounds
is false
, then
only values that were timestamped between StartTime
(inclusive) and
EndTime
(exclusive) are included.
One or more timestamps returned for each item can be unique to that item. To retrieve
aligned data from an OPC HDA server, use readAtTime
or readProcessed
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2011a