resample
Resample OPC HDA data object to have defined timestamps
Description
resamples data in OPC HDA data object newObj = resample(dObj,newTimestamp)dObj so that all elements of the
object have the timestamps given by newTimestamp.
If dObj contains elements with the same item ID, those elements are
combined into one element. So the size of newObj might be smaller than
the size of dObj.
Values are linearly interpolated or extrapolated to the new time stamps.
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 = resample(dObj,newTimestamp,interpolationType)interpolationType.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a