tsunion
Union of timestamps in OPC HDA data object
Description
merges the timestamps of all items (elements) in data object newObj
= tsunion(dObj
)dObj
, so
that each element of newObj
has the same timestamp vector corresponding
to all possible timestamps in all elements of dObj
. When an item (element
of the Data object) has no value corresponding to a timestamp, the function defines a value
at that timestamp by linear interpolation or extrapolation.
If dObj
contains elements with the same item ID, the function
combines those elements into one element. So the size of newObj
can be
smaller than the size of dObj
.
Quality for the resampled data is set as follows:
All original values retain their quality.
All interpolated values get a quality of
Interpolated: Good
.All extrapolated values get a quality of
Interpolated: Sub-Normal
.
uses the specified newObj
= tsunion(dObj
,interpolationType
)interpolationType
.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a