Documentation Center

  • Trial Software
  • Product Updates


OPC historical data access part of quality ID as strings


QStr = opc.hdaQualityString(IDs)


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

If IDs is a vector, QStr is a cell array of strings, 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 opcdemoHDAData;
newObj = tsunion(hdaDataSmall);
hdaQStr = opc.hdaQualityString([newObj.Quality]);

See Also

Was this topic helpful?