LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

execute commands

Hi,

 

I need to execute some application executables with .exe suffix from Labview. Those executables can be successfully executed with DOS command line in DOS environment only if the computer boot from a boot disk or CD directly into DOS environment. If I open a DOS prompt window in Windows environment, those executables can not be run successfully in this DOS prompt window.

 

That means I can not execute those application executables from Labview as Labview can work only in Windows environment, and those DOS executables can work only in pure DOS environment.

 

Is there a solution to this problem from Labview perspective?

 

Thanks,

 

BL 

 

 

0 Kudos
Message 1 of 3
(2,472 Views)
0 Kudos
Message 2 of 3
(2,447 Views)

BLi wrote: 
[...]If I open a DOS prompt window in Windows environment, those executables can not be run successfully in this DOS prompt window.  [...]

What is the DOS prompt window in Windows? Are you talking about the console (cmd.exe)? This does not emulate DOS even if the graphical appearance reminds of DOS. It is the command console for Windows.

 

So your best chance is to use a DOS-emulator and start it using the System Exec.vi. Please note that i am not aware of ways to launch an executable in the DOS emulator per command line, so maybe it is not possible to do what you want to have at all......

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(2,444 Views)