12-05-2011 01:40 PM
I have multiple VI's that are built into exe's. They communicate with shared variables. I launch one exe manually, and it uses the System Exec VI to launch the other two. The main vi (exe) runs each time it is requested and quits (as it was dsigned to do). The man VI sends or retrieves data from the other two continuously running VI's (exe's). However, each time I request the main VI to run the DOS window flashes (ie, apears for a fraction of a second and then goes away)???
12-05-2011 02:04 PM
Did you set "Wait until completion?" to TRUE?
Can you monitor the return code to see if it actually completed?
12-06-2011 06:00 AM
No, I will look at the return code.Wait until complete = FALSE. Run Minimized = TRUE.
12-06-2011 07:13 AM - edited 12-06-2011 07:14 AM
If nyou do not wait until completed, it will simply open and close the dos window but continue running in the background. Now, your LabVIEW code will continue to run although the executable has not completed.
It would explain what you are seeing.
Is that how you want your code to behave?
You can run minimized, but still wait until completed. To debug your code, don't run minimized to see what is going on.