OpcQuality Property (StateSummaryQueryResult)
- Last UpdatedAug 21, 2026
- 1 minute read
Gets or sets the OPC quality received from the data source.
'Declaration
Public Property OpcQuality As UShort
'Usage
Dim instance As StateSummaryQueryResult
Dim value As UShort
instance.OpcQuality = value
value = instance.OpcQuality
public ushort OpcQuality {get; set;}
Property Value
The OPC quality value.Normal OPC quality retreival 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.