|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Numeric Functions
Requires: Base Development System
Use the ring constant to create a list of value pairs you can select on the block diagram. Each value pair consists of a numeric value and corresponding string label.
The ring constant is similar to an enumerated constant, but you can customize the corresponding numeric values for the string labels in a ring constant. You also can rearrange the order of the value pairs without changing their numeric values.
If you pass the value from a ring constant to an indicator, LabVIEW displays the numeric value instead of the string label associated with it.
By default, the numeric representation of a ring constant is a 16-bit unsigned integer. You can change the representation of a ring constant to any numeric data type except complex.