LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
SteveChandler

Hide Control In Run Mode

Status: Completed

This feature is available in LabVIEW 2021 and later. Select Edit > Show Hidden Controls While Editing on the front panel to be able to see and edit hidden controls while the VI is in edit mode.

Many times I write a VI that is intended to run as a dialog. There are controls and indicators such as error in, error out and possibly class controls that I do not want to be visible when the dialog is running. What I usually do is to size the FP such that these are not visible to the user. I set the panel so that it can not be resized.

 

But that is not eating my own dogfood. What I have recently started doing is look at the Application.Kind property and hide controls in the runtime environment.

 

What about a new property to only hide controls when the VI is running? (Development system or runtime system). I don't want the controls hidden in edit mode because that makes it very difficult to wire the connector pane.

 

undefined

=====================
LabVIEW 2012


8 Comments
altenbach
Knight of NI
SteveChandler
Trusted Enthusiast

I do like both of those. The "ghosts" idea by tst would solve the same problem but you loose the ability to completely hide the control in edit mode. (although I don't understand why someone would want  a control hidden in edit mode)

=====================
LabVIEW 2012


AndyRR
Member

I usually collect all controls that I want to hide to a TabControl. Thus I can make all hidden controls visible or hide them by a single property node. It can be very difficult to find all hidden controls if they have been hidden separately.

 

undefined

AristosQueue (NI)
NI Employee (retired)

Andy RR: Good idea. Useful work around.

 

Steve Chandler: Kudos.

Petru_Tarabuta
Active Participant

The Edit >> Show Hidden Controls While Editing option was added in recent versions of LabVIEW. This allows hiding GUI elements but still seeing them at edit-time. In effect, the GUI elements are hidden only when the VI is running. In my opinion this implements the feature identified by this idea, therefore the idea could be considered completed.

 

Petru_Tarabuta_1-1741469916592.png

Darren
Proven Zealot
Status changed to: Completed

This feature is available in LabVIEW 2021 and later. Select Edit > Show Hidden Controls While Editing on the front panel to be able to see and edit hidden controls while the VI is in edit mode.

wiebe@CARYA
Knight of NI

Didn't notice this feature, it will serve me well...

 

Thanks @Petru_Tarabuta. The idea is closed, so I can't kudo your post...