Main Content
OPC HDA Quality Values
OPC HDA quality values identify the quality or integrity of retrieved historical data. The quality is returned as a 32-bit number with only the upper 16 bits relating specifically to HDA; the lower 16 bits relate to both OPC data access. For information on data access quality, see OPC Quality.
Upper 16-bit HDA Quality Values
Quality Values | Description | Mask Value | Associated DA Quality |
---|---|---|---|
OPCHDA_EXTRADATA | More than one piece of data that might be hidden exists at same timestamp. | 0x00010000 | Good, Bad, Quest |
OPCHDA_INTERPOLATED | Interpolated data value. | 0x00020000 | Good, Bad, Quest |
OPCHDA_RAW | Raw data value. | 0x00040000 | Good, Bad, Quest |
OPCHDA_CALCULATED | Calculated data value, as would be returned from a ReadProcessed call. | 0x00080000 | Good, Bad, Quest |
OPCHDA_NOBOUND | No data found to provide upper or lower bound value. | 0x00100000 | Bad |
OPCHDA_NODATA | No data collected. Archiving not active (for item or all items). | 0x00200000 | Bad |
OPCHDA_DATALOST | Collection started / stopped / lost. | 0x00400000 | Bad |
OPCHDA_CONVERSION | Scaling / conversion error. | 0x00800000 | Bad, Quest |
OPCHDA_PARTIAL | Aggregate value is for an incomplete interval. | 0x01000000 | Good, Bad, Quest |