From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Running multiple commands in command prompt

Hi
I am having the following scenario
open command prompt
open xilinx command prompt
switch to xmd console
run a set of commands
print the final output to screen


I am having the following doubts


Can system exec.vi take multiple commands as standard input?

If yes what is the delimiter?
If no what other options I have to achieve my goal

Thanks
0 Kudos
Message 1 of 3
(3,704 Views)

Why not write a batch file and start that with System Exec?

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(3,675 Views)

ni4me,

 

It looks like you just have to seperate your commands with an &

 

http://digital.ni.com/public.nsf/allkb/4AF9BB1ECC5DD0308625722E00834050

 

This seemed to work for me in LabVIEW 2014.

Matt J | National Instruments | CLA
0 Kudos
Message 3 of 3
(3,641 Views)