LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how bat file gets System Exec.vi standard input ?

G~CRW%(RG@(LOAN5L8TZ@1L.png
hi,
I use System Exec.vi to exec my bat file. my question is how to get the vi standard input in bat command.
I wanna use vi standard input as bat's parameter.
thx!
0 Kudos
Message 1 of 3
(3,003 Views)

So you have a parameterized batch file? Try passing to System Exec+ the file path with the correct parameters concatenated on the command line.

Another possibility is to create (using file output functions) and run another batch, complete with parameters, that will run the first one.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 3
(2,997 Views)

 

Build the command with all the parameters you need line and put it in a batch file, then run the batch file 

 

Here is an example

 

ttpr.png 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 3
(2,966 Views)