I´m trying to run an executable VI from another VI, I want the main VI to stop running while the executable sub-vi is running, and continue normally when it stops. How can i do this?
I am not sure that you can do what you describe using an executable. I know that it is possible from within labVIEW though.
I do something similiar to this but I use a single executable program to accomplish it. I build the executable with all the sub vi's that have front panels I want seen listed as dynamic vi's. Then I use "Open VI Reference.vi" and "Invoke node.vi" to run the sub vi from the Main vi. When the sub vi is completed it will return back to where the Invoke node is and continue execution.
This is my first attempt to provide advice so I hope this helps! Good luck.
I haven't tried it with LabVIEW executables but when I call other exe's with System Exec, a true wired to the wait until completion input works for me.
That's exactly what I've done too, with a LabVIEW executable. Like Dennis said, make sure you wire a TRUE to "wait until completion". This will cause your main VI to stop execution until your executable stops, like you requested.