09-07-2006 01:45 PM
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?
09-07-2006 02:12 PM
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?
09-08-2006 06:09 PM