LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

recalling front panel

I know it is possible to show a VI's front panel when it is called by selecting "show front panel when called" in the VI Properties.  If you were to close this vi or stop it, you could once again view its front panel when it was called again.  Now with that said...   Is it possible to call a VI's front panel many times if you don't close it or stop it?

0 Kudos
Message 1 of 3
(2,609 Views)

Are you asking about showing multiple instances of the same front panel at once, or just the ability to open and close a front panel while the VI is running.  If it's the latter, you can use the VI Server to do so.  Get a reference to the VI using the Open VI Reference primitive, then wire that into a property node and select Front Panel Window:Open.  If you set that to true, the FP will be visible, if it is false, the FP is hidden.

If you are trying to show multiple instances of the front panel, that's more difficult, but also possible.  If you want to do that, you will have to clone the VI in question or use a VI Template instead of a normal VI.  What you do from there depends on why you want multiple instances -- is it for showing historical data, or for showing multiple versions of the same data? 

0 Kudos
Message 2 of 3
(2,601 Views)
If I understand your question correctly, you are asking if you can have multiple instances of a VI running at the same time.  You can.  This is called making the VI Reentranta and is an option in the Execution category of VI Properties.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 3 of 3
(2,571 Views)