LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to make one element in a cluster invisible during execution?

Solved!
Go to solution

Hi All,

 

I have a cluster of 5 elements. According to my search parameter the elements should go visible or invisible. 

 

For example,

 

I have a Choose Function control with values - Pump, Valve, Delay

 

I have a cluster with the following values - volume, flow, set level, delay time, valve position

 

Now when I choose function to be Pump, I need only Volume Flow and Set level t get displayed. Whereas when delay is selected delay time only should display on the cluster, and the same with Valve. 

 

Is this a possible scenario in Labview. Could anyone help?

 

 

Thanks

Mich!

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

Hi Mich,

 

yes, that's possible.

 

Use "Visible" properties of the cluster elements and set them as needed for each case…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,638 Views)

Hi Gerd,

 

I am not able to see Visible property in particular for element of the cluster. It is for the whole cluster. Could you please add in more information to make it clear for me. 

Please take a look at the attached file where I see only "visible" property for the whole cluster and not for a single element in it, sorry if I ask you on a basic question...

 

 

thanks for your efforts!

 

 

0 Kudos
Message 3 of 5
(3,624 Views)
Solution
Accepted by topic author MedicoMich

Hi Mich,

 

two solutions:

1) right-click the controls (in the cluster) to create property nodes connected with them.

2) read the "elements" property of the cluster to get references to the elements in the cluster. Use those references to make the cluster elements (in)visible.

 

Third solution:

3) Create a generic property node in the block diagram. Right-click it and select "connect to" (or similar, I'm using a German LabVIEW version). Then navigate the shown menu tree to select the control you like to manipulate…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(3,609 Views)

Perfetto!!!!

 

This is what I looked for...Thanks a lot, Gerd!!

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