LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initializing a boolean array that is a control

I have a boolean array that is controlling which channels appear on a chart.  The problem I am having is that the buttons controlling the array are all grayed out until clicked on.  I know this is because the elements in the array are not active until clicked on.  I would like to have the elements in the array active initially and still be able to have the array be a control.  I have attached a copy of my basic code.
 
Thanks in advance for the help.
 
-Jessica
0 Kudos
Message 1 of 3
(3,586 Views)

Jessica,

Go to your front panel and activate all the controls in the state that you want them when the program boots up.  Then right click on the array control and select Data Operations >> Make Current Value Default.

This will make the active state the default.  The program will always open with this default value selected.  Hopefully this will help!

Thanks,

Stephen Meserve
National Instruments
Message 2 of 3
(3,572 Views)
That worked perfectly! Thanks so much for your quick reply.
 
~Jessica
0 Kudos
Message 3 of 3
(3,566 Views)