12-20-2007 12:40 PM
Want to launch EXE from LabVIEW, wait for user to finish with EXE's UI, and once they closed it, return execution flow in LabVIEW. Cool, no problem.
Used the System Exec VI and with the "wait until completion" = TRUE the EXE never launches. Not sure why.
With the "wait until completion" = FALSE, the application runs with no problems, but now LabVIEW no longer waits. Can't tell when user is done.
Work around idea... Once the Sys Exec VI launches the EXE, wait and poll some Windows API call to see when the window for the specific EXE closes. Cool.
I know G and no C. What I would ideally like is a DLL, that I can wrap with the DLL Import Wizard. Of course best would be a VI and the wrapped API call.
Any ideas?
12-20-2007 01:02 PM
12-21-2007 05:10 AM