This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this 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 opcSampleHdaData;
newObj = tsintersect(hdaDataSmall);

Display the values and qualities of the new object:

Was this topic helpful?