Ring Constant

Owning Palette: Numeric VIs and 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.

 Add to the block diagram  Find on the palette

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.