Main Content

opc.hdaQualityString

OPC historical data access part of quality ID

Syntax

QStr = opc.hdaQualityString(IDs)

Description

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.

Examples

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]);

Version History

Introduced in R2011a