LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hide and make visible a group of buttons controls or indicators

HI

well, may be sound weird?, but I need to hide and make visible a group of buttons, controls, indicator, graphs etc.
the pint is that I have for example like 20 buttons, and depending of the actions of the users I need to hide them or not, I know I can do it one by one with the visible property, but I was wondering if there is a possibility to do it but all together, with the same property, like put all the buttons or control inside a subpanel and then hide the subpanel? I tried this but didn´t work

any suggestions?

thanks!!!!

0 Kudos
Message 1 of 7
(5,379 Views)
Hi Sirrick,
if you use a subpanel you can unload the loaded vi from the subpanel. The vi runs anymore in the background but you don´t see it.
Can you show us some code?
 
Mike
0 Kudos
Message 2 of 7
(5,372 Views)

Hi again,

i make an example for you to show how it can work. An other way to hide many controls or indicators is to get all references from the frontpanel with a property node and run through a for loop.

Mike

0 Kudos
Message 3 of 7
(5,361 Views)
You can put all of your controls in a cluster. The reference to the cluster - Property node> Controls [] - will be an array of references. From there you can control the visibility of each control.
PaulG.
Retired
0 Kudos
Message 4 of 7
(5,358 Views)

1. logical groupings of can be clustered

2.  Tabs can also group controls simplier than subpanels

3.  State machines eish a show hide state allow all show and hide logic can be in one place.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 7
(5,334 Views)
thank you very much to everyone, was really usefull.
PaulG.  sorry but I have LV 8.0 then I coudn´t open your example, but thanks any way
0 Kudos
Message 6 of 7
(5,322 Views)
Here you go in 8.0:
PaulG.
Retired
0 Kudos
Message 7 of 7
(5,302 Views)