LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Command line wait until complete

I wish to launch my VI from the command line, via a script.  I don't want my script to continue its execution until the VI has completed its job.  Is there a simple way to do this, or am I going to have to make my VI write a file when it is complete and get my script to check for the existance of the file before continuing?
 
Thanks in advance,
 
Andrew
0 Kudos
Message 1 of 3
(9,229 Views)
Hi Andrew,
 
Take a look at the following link which has lots of information on creating .bat files, including information about how to pause the execution.
 
 
Hope this helps.
Regards
Hannah
NIUK & Ireland
0 Kudos
Message 2 of 3
(9,195 Views)

Thanks Hannah,

I had only actually tried running my .exe from the command line and noticed that it allowed me to enter another command immediately, before the .exe had exited.  As soon as I put the command to launch it into a .bat file (and another command afterwards), the behaviour was as I expected.

Regards,

Andrew

 

0 Kudos
Message 3 of 3
(9,177 Views)