Skip to main content
Version: 8.1

qualityOf

New in 8.1.10

This function is used by Ignition's Expression language.

Description​

Returns the QualityCode of a qualified value.

Syntax​

qualityOf(value)

  • Parameters

    • Object value - The value for which you want to find the quality.
  • Results

    • QualityCode - Returns the code associated with the quality. For more information on quality codes, including a list of available codes, see Quality Codes and Overlays.

Examples​

Code Snippet
qualityOf({[default]Sensor 1/Reading}) //Returns the quality code of the tag's value
Code Snippet
//Use "=" to compare quality codes against constant names or integer codes

(qualityOf({[default]Sensor 1/Reading}) = {../Label.props.text}) //Returns "true" if the quality code matches a property