OpcQuality Property (HistoryQueryResult)
- Last UpdatedAug 21, 2026
- 1 minute read
Gets or sets the basic data quality indicator associated with the data value.
'Declaration
Public Property OpcQuality As UShort
'Usage
Dim instance As HistoryQueryResult
Dim value As UShort
instance.OpcQuality = value
value = instance.OpcQuality
public ushort OpcQuality {get; set;}
Property Value
The OPC quality value.Normal OPC quality retrieval logic is applied if:
- All the points found and processed for this row have GOOD quality. If they all have the same GOOD quality, then that quality is returned.
- If there is a gap in the entire calculation cycle, then BAD quality is returned for the tag.
- For any other scenario with any mixture of GOOD and BAD points, a DOUBTFUL OPC quality (64) is returned.