LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

how bat file gets System Exec.vi standard input ?

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
(557 Views)

Rif.: how bat file gets System Exec.vi standard input ?

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
0 Kudos
Message 2 of 3
(551 Views)

Re: how bat file gets System Exec.vi standard input ?

 

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 

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 3 of 3
(520 Views)