This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


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

Intersection of time stamp in OPC HDA data object


NewObj = tsintersect(DObj)


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.


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:

Was this topic helpful?