OPC Studio User's Guide and Reference
QualityChoiceBitField Property (DAQuality)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAQuality Class : QualityChoiceBitField Property
Gets the QualityChoice bit field.
Syntax
'Declaration
 
<XmlIgnoreAttribute()>
Public ReadOnly Property QualityChoiceBitField As DAQualityChoice
'Usage
 
Dim instance As DAQuality
Dim value As DAQualityChoice
 
value = instance.QualityChoiceBitField
[XmlIgnore()]
public DAQualityChoice QualityChoiceBitField {get;}
[XmlIgnore()]
public:
property DAQualityChoice QualityChoiceBitField {
   DAQualityChoice get();
}

Property Value

The default value of this property is Bad (DAQualityChoice.Bad).

Remarks

You cannot set the QualityChoice using a property; use SetQualityAndSubstatus method instead. This approach is needed as the semantics of the Status depends on the QualityChoice, and therefore setting just QualityChoice could lead to inconsistent or undesired contents of the DAQuality.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also