LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Editing SystemExec.vi to wrap up a program

Hi there,

I'm just full of questions today. I'm using SystemExec.vi to run a small, DOS-based external program. I then take the output that's sent to the console and manipulate it a bit.

The problem is, the external program I'm executing does something where the DOS window doesn't close after it's done executing. Because of this, LabVIEW thinks it's still running and does not receive anything in the "Standard Output" string of SystemExec. Is there a command I can use to close the window and terminate the program? Thanks.
0 Kudos
Message 1 of 2
(2,634 Views)
"exit" terminates cmd.exe on windows 2000.

ben schulte
national instruments
0 Kudos
Message 2 of 2
(2,634 Views)