LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rename Controls and Indicators on Front Panel

Hello,

I was wondering if there was a way to rename the controls and indicators on the front panel, or a clever way to alter them? For example, I want to put an ENUM control on the front panel and allow the user to make a product selection. Depending on the choice of the product, I would like to be able to update the controls/indicators associated with that part. Then, if the user decides to select a different part, those same controls/indicators would update again to reflect the new name change. Thanks!  

0 Kudos
Message 1 of 3
(3,487 Views)

Hi Newbie,

      If you're interested in changing text on the Front Panel (FP) it's most common to create a string indicator (a text-box) above or beside the control being "labeled" and update that indicator as required.  Controls do have a "Caption" property, a FP text-label that can be made visible on the FP and which can be changed programmatically.  A control's Label - the label seen by default - cannot be changed programmatically.

 

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 2 of 3
(3,483 Views)
Thanks! I wasn't sure if renaming the label was possible or not. Renaming the caption instead works just as well 😃
0 Kudos
Message 3 of 3
(3,481 Views)