09-07-2010 02:22 AM
Hi
In my project I have different sub vi's i need to call from main vi.
After the completion of sub vi task i need to return back to main vi.
Give some idea.
i attached my project with on sub vi.
Regards
hari
Solved! Go to Solution.
09-07-2010 03:22 AM
Open the subvi "Booster_Test.vi",
Navigate to
File -> VI Properties->select "window appearence in category", -> select "custom"option,click the "customize" button and a new window appears
Check the "show front panel when called " and "close afterwards if originally close".
This should solve your problem.
09-07-2010 03:39 AM
Hi,
You have a event structure to handle the buttons on the front panel. Place the subvi in the event that should be called when the user presses the button.
Right click on the subvi>in the right click menu select "subvi node setup">>"Open the FP when called". This option will force labview to open the FP of a subvi.
In VI Properties>>Window appearance>>"show FP when called" (select this option)
In the same window you have "Window Behaviour" - select "Modal"
These options will keep the subvi window on the top. only the when the subvi is closed the main window gets the control.
Post back if any queries.