LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Exec

Hi,
Just like to know how can i going to close the application call by system exec??as i going to repeat again.
 
Attach the .vi
 
regards,
simon
0 Kudos
Message 1 of 6
(3,075 Views)

Hi Simon,

which application do you start? You can give this application the focus and send ALT+F4 to it or you destroy the process or the application has another gateway through which you can communicate with it.

Mike

0 Kudos
Message 2 of 6
(3,073 Views)

Hi Mike,

i going to call the batch file here. let say as this simple code. how can i close the dos application by using labview??

//

:Begin

cd\
mkdir c:\a
mkdir c:\b
mkdir c:\c


//

regards,

0 Kudos
Message 3 of 6
(3,067 Views)
Hi simon,
i´m not sure what you mean. If you call your batch file with the "cmd /c" command, then the box closes after it is ready. You can also connect a true to the "wait ..." input.
 
Hope it helps.
Mike
0 Kudos
Message 4 of 6
(3,063 Views)
Hi Mike,
 
My mistake here. Thanks for the help.
I able to close the application.
 
thanks and regards,
Simon
0 Kudos
Message 5 of 6
(3,060 Views)
Hi simon,
now i know what you mean and you don´t need to close something. See the attached picture. This works for me.
 
 
Mike


Message Edited by MikeS81 on 06-10-2008 08:32 AM
Message 6 of 6
(3,056 Views)