LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

enable all controls without property nodes

Solved!
Go to solution

On my FP, there are controls/indicators that are in the hidden state.  I know that I can make them visible again with properties nodes.  However, I am wondering is there a way to do it with just a few clicks? 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 12
(3,135 Views)
Solution
Accepted by topic author jyang72211

While in the development environment or the run-time?

 

In the development environment you can right-click on the terminal on the block diagram and select "Show Control". Unfortunately, you cannot select multiple controls/indicator on which to perform this action. I think there was an idea submitted to allow this, but I'm not sure.

 

In the run-time? No.

Message 2 of 12
(3,123 Views)

What looks are you ultimale looking for? You could use a tranparent boolean control over the top of the controls that you are looking to disable. when clicked you could move it out of the way.

Tim
GHSP
Message 3 of 12
(3,108 Views)

I would like to do that during development.  My program would cause controls to become invisible at the beginning and cause them to become visible one by one during the program flow.  I am still in the debug phase, so I would stop the program and the controls would still be invisible.  I guess there is no easy way to cause multiple controls to become visible at the same time :<.  I did write a subvi to do that, but I wish that there is an easier way.  Thanks!

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 4 of 12
(3,103 Views)

Let's clarify terminology.

 

Your subject line talks about enabling controls, but your message talks about showing hidden controls which means two different things.

 

Enabling, disabling, disabling/graying are settings that determine whether a user can click on a control and how it looks if they can't.

Hidden means a user can't see a control on the front panel.

Message 5 of 12
(3,101 Views)

If there are more than a handfull of hidden objects, it would probably require less clicks to write a VI that gets all control refs and set them all visable than to find each and do the "show".

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 12
(3,098 Views)

My suggestion could be used only instead of a transparent Boolean use one that is the same color as the background and move it when your condition is met. Moving a control is easy. This would make it seem that you enabled or made visible all of the controls at once but you only need to move one control to get the response that you are looking for.

Tim
GHSP
Message 7 of 12
(3,095 Views)

You can change the visibility of multiple controls at once.

 

Make an array of controls references to each of the controls you want to change.  Feed that array into a For Loop with auto-indexing turned on and going to a property node for the Visible? property.  Wire the reference wire into that.

 

Message 8 of 12
(3,092 Views)

Raven's fan method is going to be the easy way to do what you are looking to do. You can keep seperate reference arrays so that you have the grouped in the order that you want them to turn on and off.

Tim
GHSP
Message 9 of 12
(3,082 Views)

You are right.  I used the wrong term.  I meant hidden.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 10 of 12
(3,073 Views)