LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Command line, how to know when it is done ??

I am using an old dos program which need few minutes to finish and i
want to go to the next sequence only when this program is done. Is
there a way to know when is it done ?

LV 5.11, using EXEC (system command.vi)

Tks
Fréd
0 Kudos
Message 1 of 3
(2,643 Views)
Run the DOS program from a batch file and have the batch file do
something that will signal your LV program.

Frederic Durand wrote:
> I am using an old dos program which need few minutes to finish and i
> want to go to the next sequence only when this program is done. Is
> there a way to know when is it done ?
>
> LV 5.11, using EXEC (system command.vi)
>
> Tks
> Fréd
Message 2 of 3
(2,643 Views)
What you can try is to download lvwutil32.llb which is a set of Windows API functions from here. There is a VI in there called System Exec+. Unlike the shipping version, this one has an option to wait until the called application stops running.
Message 3 of 3
(2,643 Views)