LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case Structure - multiple selectors, single exit


@Pardeep wrote:

i am also working that kind of problem 

but the main differnce is that i did'nt want to change other button status 


That makes it a very different kind of problem. 😄 How many booleans do you have?

 

Once you have an array of booleans, you would use "boolean array to number" and wire the output to the case structure selector. You will get a unique number for each possible button combination. (For example if you have 4 booleans, you'll get nubers 0..15 and you cvould create 16 different cases. If only some button combinations are interesting, you could create a default case and a few unique cases. You can even combine some values into one case. Set the case radix to binary and you'll directly see the applied patterns)

0 Kudos
Message 11 of 11
(319 Views)