LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolan Indicator Control - 42 different indicator

I am looking to set a control panel(s) that inidcates to the user what button(s) to activate in order to test an UUT.  I have a total of 42 boolan indicators that probably will be grouped or subset by similar functions.  I am passing  True and False into these indicators. I would like to set the control is as sub vi.
I was going to use bundle and unbundle by name for convenience.    I need a way to initialize the group and then control them throughout the program.
 
Is array or cluster better?  How to set  up initialization?
Thanks,
Greg
0 Kudos
Message 1 of 3
(2,583 Views)

Hi Greg,

to be flexible, maybe tomorrow you need 45 boolean indicators, i would use the vi refnum, with the property front panel. Out of this property you can get all Controls and Indicators from the specified FP and run through a for loop. With the label or caption property you know which indicator it is at the moment and you can change the state. Hope this helps.

Mike

Message 2 of 3
(2,566 Views)
I would group them in a cluster with similiar function and make it a type def. That way if you need to change it, you change the type def and the display change will ripple across all the VI that use the type def.
Message 3 of 3
(2,555 Views)