LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get numerical value for every button

Hi,

Currently I am using a case structure to determine which graph i want to display. For example, each case( i have 7 cases), there is a frequency,amplitude dial which user can change it. So basically there are 7 of those. Let say the user want to change case 1 and display those. I've plan to place a button PLAY beside the frequency dial so that it will activate the case 1. But the problem is how can i do that as the input for the case structure is numerical (0-6) to select the case. How can i activate case 1 for an example, when i click the button PLAY beside the first dial? Is it possible to change the configuration of the button PLAY, so that when its activated, it will give out numeric 1 and i wire to the case structure input? Thanks guys.


0 Kudos
Message 1 of 3
(2,905 Views)
i think you want this....

Message Edited by Pnt on 03-23-2008 09:59 AM
0 Kudos
Message 2 of 3
(2,900 Views)
Maybe you want to use a single radiobutton control with seven items?
 
Here's a quick example.
 
(Also, see what happens if you wire the radiobutton control to a case structure. :))
0 Kudos
Message 3 of 3
(2,888 Views)