LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front Panel Visibility

I know it is possible to alter the visibility of certain objects using property nodes, but is it possible to completely alter the look of the front panel?  Say I want to display a message and a button on the front panel.  Then if a user presses the button, the front panel will display an entire experiment VI and not show the message or button anymore.  Is this possible, and if so, what is a good way to implement this?  Thanks!
-Tek
0 Kudos
Message 1 of 5
(3,211 Views)
You can place all possible controls and indicators on the front panel, and use the visibility property node and/or use the position property node to show and place the controls where you want depending on the user button.  Or you can create a separate vi and customize the front panel to look like what you want, and when the user presses the button, it calls the separate vi.  You can also have a tab structure on the front panel.  One tab is set up to look one way, another tab is set up to look like the experiment.  The user can press which tab he wants to vue.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(3,202 Views)

A very easy way of implementing this sort of functinality is to use subpanels--it also lend to a very nice type of modularzation of your application.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 5
(3,194 Views)
I am new to LabVIEW, and I have never heard of subpanels. Where do I find them, and how do I use them? Thanks.
-Tek
0 Kudos
Message 4 of 5
(3,186 Views)

You can find the subpanel in the containers subpalette of the controls palette, but before you start using subpanels, which is a more advanced concept, you should consider using tbob's suggestion of making your experiment a seperate window, which will pop up. To do this, you need to write your experiment in a seperate VI (which you will need to do with a subpanel as well) and configure the VI window to open its FP when it's called (File>>VI Properties>>Window Appearance). This will mean that your VI can only run when its displayed.

You can also have it running all the time and open and close it's FP using VI server methods (search for that term), but you should probably start by searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf), which you can also search for things.


___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(3,179 Views)