From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make appear all controls?

in examples, some controls appears

how to make these control appear in a new project?
i'm looking for data i/o controls

thanks
0 Kudos
Message 1 of 2
(2,142 Views)
Not sure what the problem is...if you see a control in one of the examples that you want in another VI just copy and paste. If you want to make a front panel template just create a VI template (option in the new...dialog) and paste and arrange the controls on the front panel of that...

If there is code in the example that hides the control and you wonder how to make it appear again just go to the diagram, locate the terminal of the control, right-click on it and select show...

If the problem is how to make all controls on a panel appear (if e.g. there are 100 controls hidden and you want to un-hide them all)...open a reference to the front panel of the VI, get a reference to all the controls using the get control refs property and then wire the array of references
to an auto-indexed for-loop where you wire the references to a "visible" property and set the property to true...run it and all the controls will reappear.
0 Kudos
Message 2 of 2
(2,142 Views)