Cicode Programming Reference > Cicode Function Categories > Quality Functions Introduction > Quality Functions

Quality Functions

The following functions are used to interface with the QUALITY data type.

QualityCreate Creates a quality value based on the quality fields provided.
QualityGetPart Extracts a requested part of the Quality value from the QUALITY variable.
QualityIsBad Returns a value indicating whether the quality is bad.
QualityIsGood Returns a value indicating whether the quality is good.
QualityIsUncertain Returns a value indicating whether the quality is uncertain.
QualitySetPart Sets a Quality part’s value to the QUALITY variable.
QualityIsOverride Returns a value indicating whether the tag is in Override Mode.
QualityIsControlInhibit Returns a value indicating whether the tag is in Control inhibit mode.
QualityToStr Returns a textual representation of the CitectSCADA quality.
VariableQuality Extracts the quality from a given variable.

See Also

Cicode Functions