LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update Indicator label during Run time

Solved!
Go to solution

Hi all,

This is the situation, i have an Indicator to display Acceleration, Velocity & Displacement. I am using it a local variable in the 2 case structures. 

Here is what i want to achieve:

I want to update the Indicator label for the respective Radio Button control. If the click on Acceration button, the label should be updated to Acceleration during Run time. Correspondingly for Velocity and Displacement button. 

Can anyone help me how to go about this.

Excuse me if i am not clear about anything.

Thanks in advance

Regards,
KM
0 Kudos
Message 1 of 3
(3,107 Views)
Solution
Accepted by topic author KevinKM

Generally you should not change the label of a control, because this is often how the control is referred to from elsewhere in the program and it causes confusion.

 

Instead there is a Caption property. If you right click the control and select Visible Items->Caption, the label is hidden and the caption is displayed instead (with the same text).

 

In your block diagram, right click on the chart terminal and select Create->Property Node->Caption->Text. This creates a property node for the caption property. You will need to click on it to change it to 'Write' rather than 'Read' - you can then wire whatever text string you like and it will update on the front panel.

Message 2 of 3
(3,080 Views)

You can't do this with labels but you can do it with captions.

On your graph, change the Visible Items to be Caption instead of Label.

Then use a property node to change the caption depending on the radio button selection.

 

EDIT: Stuart beat me to it.

Message 3 of 3
(3,079 Views)