10-01-2007 03:10 AM
Hello,
I use the function "System Exe" since a long time to launch various executables since Labview.
The " waint until completion " boolean is true, because I have to wait the end of the external executable to continue.
Big problem: the function " System Exec " use all resources system, by waiting for the end of the external program.
Is it a bug of this function ?
In my example, "System Exec" launches only the notepad (LV 8.2 on XP)
Thank you for your suggestions.
AC
10-01-2007 09:43 AM
10-01-2007 11:11 AM
10-02-2007 01:41 AM
Thanks to both for your speed.
In fact I had simplified my vi to target the problem.
I use System Exec to launch another executable, made possibly with labview, but with passage of parameter. (Ex: - " / string:init ").
In the literature Labview it was made with the method cmd / x / c start by putting twice the path of the executable.
In this method a waiting time in the recent system exec function was effectively missing.
But effectively, today, it is enough: "c:\myexe.exe" - " / string.init " to launch and to pass a parameter.
You have both reason and I thank you sincérement.
Very cordially.
Sorry for my English....
AC