Ring Constant

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) Numeric palette
Type Constant
Requires Basic Development Environment
Icon Functions - Numeric Palette - Ring Constant.png

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.

You select, add or remove, and rearrange values in ring constants much the same way you do for ring and enumerated controls.

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.

Usage

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links