LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Panel control references

Solved!
Go to solution

My question: if I use a property node to list the controls References on a sub VI panel.
Is there any way to negate some of the controls so they do not appear in the list of references on that panel.
Without removing the control from the sub VI panel?

0 Kudos
Message 1 of 6
(1,380 Views)
Solution
Accepted by rolfk

When you use the Panel/Pane property "Controls[]", you get the refnum of all the controls contained in the referenced Panel or Pane, even invisible ones.

 

By "negate some of the controls so they do not appear in the list", I assume you mean to filter out some controls from the list ?

 

You can use all the available Control properties to decide which ones to keep in the list or not, e.g. Class Name, Label.Text, Value (in conjonction with "Get Type Information") , Indicator, Disabled, Visible, etc...

 

Here is an example to get all visible indicators:

 

Filter Panel Control References.png

Message 2 of 6
(1,363 Views)

Thank You...

 

The ForLoop output terminal conditional?

 

How do you place that?

 

Chris 

0 Kudos
Message 3 of 6
(1,264 Views)
Solution
Accepted by topic author chrni47

@chrni47 wrote:

Thank You...

 

The ForLoop output terminal conditional?

 

How do you place that?


Right clicking on the tunnel and selecting “Conditional Tunnel” or similar in the menu. It’s in the same place where you select if the tunnel is auto-indexing or not.

That is if you have a recent version of LabVIEW. Older versions (2015? or so) don’t have that.

 

And your post is an additional question and not a solution, so it would be nice if you could unmark your post as solution and mark the post from the previous poster as solution instead!

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 6
(1,247 Views)

I will next time,,,

 

Thanks..

Chris

Message 5 of 6
(1,235 Views)
@rolfk wrote:
And your post is an additional question and not a solution, so it would be nice if you could unmark your post as solution and mark the post from the previous poster as solution instead!

 


@chrni47 wrote:

I will next time,,,


Kudo (your 1st!) for fixing that. Note the use of kudos to say thanks...

0 Kudos
Message 6 of 6
(1,202 Views)