LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I hide a button during execution

I am trying to make buttons visible and not visible depending on the choices that the user chooses.  I do this often in C based languages so I was wondering if this is possible in LabVIEW 7.1.
Ron Deavers, CLD
0 Kudos
Message 1 of 7
(3,258 Views)
create a property node  "visible"
and set it T or F as needed as the program runs
0 Kudos
Message 2 of 7
(3,252 Views)
Thank you. Can this be done with multiple buttons at one given time?
Ron Deavers, CLD
0 Kudos
Message 3 of 7
(3,253 Views)
<<<Can this be done with multiple buttons at one given time?>>>
yes, you can use the property with multiple buttons/cluster/elemnt of a cluster.
0 Kudos
Message 4 of 7
(3,244 Views)
you will have to create a property node for each control and then do the same thing as you did beforeSmiley Happy



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 5 of 7
(3,242 Views)
You can also get an array of references for the controls (either by building it or by using another property. I suggest you build it) and wire that array into a for loop with a property node in it. To build the array, you can right click on each control and select Create>>Reference, and then use Build Array on the references. The property node can be found in the Application Control palette. You will probably find that this method is less expensive in diagram space and more versatile.

___________________
Try to take over the world!
0 Kudos
Message 6 of 7
(3,231 Views)
Wow.  That is a great idea and does take much less space.  I appreciate all the input.  Thank you very much.
Ron Deavers, CLD
0 Kudos
Message 7 of 7
(3,227 Views)