tsintersect

Class: opc.hda.Data
Package: opc.hda

Intersection of time stamp in OPC HDA data object

Syntax

NewObj = tsintersect(DObj)

Description

NewObj = tsintersect(DObj) resamples data in OPC HDA data object DObj so that all elements of the object have the same time stamps given by the intersection of all time stamps in all elements of DObj.

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.

Examples

Load the OPC HDA example data file and find all common values of hdaDataSmall:

load opcdemoHDAData;
newObj = tsintersect(hdaDataSmall);

Display the values and qualities of the new object:

newObj.showValues
Was this topic helpful?