Skip to Main Content Skip to Search
Product Documentation

opc.daQualityString - OPC data access part of quality ID as strings

Syntax

[MajorStr, SubStr, LimitStr] = opc.daQualityString(IDs)

Description

[MajorStr, SubStr, LimitStr] = opc.daQualityString(IDs) converts the data access (DA) portion of the OPC quality IDs in IDs to the major string MajorStr, substatus string SubStr, and limit string LimitStr.

If IDs is a vector, each of MajorStr, SubStr, and LimitStr are cell strings the same size as IDs.

Examples

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

load opcdemoHDAData;
newObj = tsunion(hdaDataSmall);
[majorStr, subStr, limitStr] = opc.daQualityString(newObj.Quality);

See Also

opc.hdaQualityString | opcqstr

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS