01-10-2011 12:16 PM
When I call VI2 from VI1 directly, the front panel for VI2 opens and VI2 is running. When I terminate VI2, data flow returns to VI1 and all is good. This configuration blocks VI1, however, from any further interaction until VI2 has ceased execution.
Therefore, I switched the call mode to call by static reference. I opted to choose to not wait for execution to complete and I still have VI properties set to "Show front panel when called" and "Close afterwards if originally closed". However, these properties seem to have no effect when VI2 is called by static reference. Am I doing something wrong?
I'm running LV2009SP1.
01-10-2011 12:27 PM
I suspect you want two VIs to run in parallel but be able to interact with the FP of each. If that is true (stop reading if it is not) look at the example I posted in this message.
It is a very simple demo to show how to launch and run sub-VI in a sub- panel or to un-dock the from a tab.
All of the code is there and it may give you some ideas.
Ben
01-10-2011 02:47 PM
That is very clever. Thanks for sharing it.
I just want the properties in the VI Properties dialog box to work: "Show front panel when called" is checked and "Close afterwards if originally closed" is checked but the front panel does not appear when the VI is called.