read
Syntax
Description
reads the latest data value from each of the specified tags of the AVEVA® PI Data Archive that the PI client piValues
= read(piClient
,tagName
)piClient
is connected
to. tagName
can be a string or vector of strings. The data is returned to
piValues
as a timetable.
reads the earliest value from each of the specified tags.piValues
= read(piClient
,tagName
,Earliest=true)
reads data points in the range between the start and end dates, specified by the datetime
values of piValues
= read(piClient
,tagName
,DateRange=[startDate,endDate]
)[startDate,endDate]
.
reads the data points in the given time range interpolated for each interval specified by
the duration piValues
= read(piClient
,tagName
,DateRange=[startDate,endDate]
,Interval=timeStep
)timeStep
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a