LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you call an old DOS application from LabVIEW?

I am using LabVIEW 6i on Windows NT. I need to call and supply information to an old DOS application. The information is passed after the start of execution. I will not need to interact with the VI during the execution of the DOS application.
0 Kudos
Message 1 of 2
(2,686 Views)
From the Functions palette choose Communication/System Exec.vi. This VI has inputs for the command line, the working directory, the parameters to pass and a whole lot more.

On a Windows NT machine, the output from the DOS box will not show on screen (just a blank DOS window). If you need to see printed output, then search the NI FTP site for the WINEVENT.DLL. The "Run Application.vi" in this library WILL show the output from the DOS program on the screen.

There is full documentation inside the DLL.
0 Kudos
Message 2 of 2
(2,686 Views)