LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

send output to gui control

I tried searching for an answer but sometimes forming the question can be an issue...

 

I want to make a GUI with two controls, say period and frequency. I want it to be possible for the user to specify either one of these two values, and the other value is calculated and shown in the other control. So if I choose a period of 500us, the frequency control is updated to show 2kHz. Or if I choose a frequency of 2kHz, the period control is updated to show 500us. I can enter input into either control and the other is updated with the corresponding result.

 

Is there a way to do this? If so, how?

0 Kudos
Message 1 of 2
(2,526 Views)
You just need to write to a local variable of the control in your value change event.
0 Kudos
Message 2 of 2
(2,524 Views)