Ring Constant

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


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.

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful