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
(4,528 Views)

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

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(4,499 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
(4,465 Views)