Mismatched Values in Text Ring Control in LabVIEW

Updated May 21, 2024

Reported In

Software

  • LabVIEW

Issue Details

I have created a text ring control with specific values for specific items. The correct item values are shown in the control properties, however, at run time incorrect values are displayed.

Control properties:

properties.png

Values at run time:

run time values.PNG

Solution

Different display formats configured for the ring control and indicators can cause this behavior.
 
  • Confirm the display format of the ring control by right-clicking the control in the Front Panel and select Display Format... or in the Block Diagram and select Properties>>Display Format.
  • Verify that the indicators have the same display format in the Display Format tab of the indicator properties.
Once they match they will display the same values:

result.PNG

Additional Information

In the example data shown, the ring control format was set to hexadecimal while the indicators had a decimal format, therefore the value 0x16 in the control was displayed as 22 (decimal) in the indicator.
If the format of the ring control need to be changed instead of the format of the indicators, you might need to modify the Display Format tab of the control properties and click OK first, then go into the properties of the control again and select the Edit Items tab of the ring control properties to update the values so that it matches the new format.