LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

output integer loop

I'd like to create a sub VI that uses a for loop to spit out an integer. I want to set up a handful of boolean controls, each corresponding to an integer (say 1, 2, 3). When none are true, the output of the sub VI is 0, and when one of the controls is switched to true, the output will be 1, 2, or 3. Any suggestions?

0 Kudos
Message 1 of 2
(2,238 Views)

One possibility is to use radio buttons.

 

Another ...

 

0 Kudos
Message 2 of 2
(2,236 Views)