readProcessed
Read aggregate data from nodes of an OPC UA server
Syntax
Description
reads processed historical data from the nodes given by uaData
= readProcessed(uaClient
,nodeList
,aggregateFn
,aggrInterval
,startTime,endTime
)nodeList
, at a
specified time between StartTime
and EndTime
at
intervals of AggrInterval
. For each interval of time, the server
calculates a processed value based on the AggregateFn
requested.
AggregateFn
can be specified as a character vector or as an
AggregateFnId
object
UaData
is returned as a vector of OPC UA data objects. If
readProcessed
fails to retrieve historical data for a given node,
that node is not included in the returned OPC UA data object, and a warning is issued. If
all requested nodes fail, an error is generated.
reads from the nodes identified by uaData
= readProcessed(nodeList
,aggregateFn
,aggrInterval
,startTime,endTime
)NodeList
. All nodes must be of the
same connected client.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b