From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on System exec.vi

Hi All,

 

I had seen the examples on system exec.vi to actually call an .exe file into LabVIEW. It also works fine on my labview program when calling. However, I would like ask whether this system exec.vi can perform a series of auto command to the exe file?

For example, when an exe file is opened, a series of command can be automatically entered to each steps instead of requiring the user to key in manually.

 

Below is some of the snapshots of my exe file.

 

Many thanks in advance.

0 Kudos
Message 1 of 2
(2,204 Views)
The system exec cannot respond to prompts and enter values but if the author of the exe provided a command line interface that accepts parameters, then you can use system exec. You really need to ask the provider of the exe if there is such an interface.
0 Kudos
Message 2 of 2
(2,189 Views)