LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide/Show a single control in cluster

Solved!
Go to solution

HI all...

 

I'm trying to do something but with no luck...

 

I have 2 clusters of 20 controls each,

 

1. 20 Boolean switches

2. 20 numeric indicators ( dbl )

 

What I want to do is simple when I'm pressing one of the bool buttons I want it to hide/show the relevant numeric.

 

Can anyone assist ?

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 5
(3,540 Views)

Hi kobi,

             You can refer to the following links:-

             http://forums.ni.com/t5/LabVIEW/Show-Hide-certain-items-in-an-array-of-clusters/td-p/1672798

             http://forums.ni.com/t5/LabVIEW/how-to-disable-numeric-controls-in-a-cluster-one-by-one/td-p/90303

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 2 of 5
(3,530 Views)

Hello Kobi Kalif,

 

please have a look at the attached example.

 

Greets, Dave
0 Kudos
Message 3 of 5
(3,529 Views)
Solution
Accepted by topic author Kobi_K

Its a bit quick and dirty but does this do what you want.  Use numeric control to select element in cluster and boolean to turn on or off then press run.  Could have put it in a loop with stop button

 

Ken

0 Kudos
Message 4 of 5
(3,528 Views)

Thank you all all the ideas where very helpfull !!!

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 5 of 5
(3,518 Views)