03-05-2007 12:41 PM
03-05-2007 04:44 PM
Hi,
I also faced a similar situation sometime back. The way I acheived it was to create Second.vi as a sub-vi in First.vi. Second.vi shows its front-panel when called and closes it later when exiting. In LV, it is possible to close the current VI and call another VI dynamically, thereby switching from one VI to another. To my knowledge, the same can not be done in PDA. So, inorder to create a switching effect, I used Second.vi as a sub-vi in First.vi. But here First.vi keeps running in the background and its front-panel is hidden by the front-panel of Second.vi.
In my application, I have a chain of screens created as sub-vis in the main vi which conditionally show their front-panels .
03-05-2007 06:04 PM
03-06-2007 04:38 AM
03-06-2007 09:12 AM
Did you set the Front-Panel Show properties? (VI Properties>Window Appearance>Customize> Show Front-Panel When Called , Close Afterwards if Originally Closed). If you set the above properties in the sub-vi, then it should show its front-panel whenever called.
Does that help?
-Shruti