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.


OPC historical data access part of quality ID


QStr = opc.hdaQualityString(IDs)


QStr = opc.hdaQualityString(IDs) converts the HDA portion of the OPC quality text in IDs.

If IDs is a vector, QStr is a cell array of character vectors, the same size as IDs.


Load the OPC HDA example data file and find the HDA qualities of the time stamp union of hdaDataSmall:

load opcSampleHdaData;
newObj = tsunion(hdaDataSmall);
hdaQStr = opc.hdaQualityString([newObj.Quality]);

Introduced in R2011a

Was this topic helpful?