LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

batch file output

I am programming some devices with batch files using the System Exec.vi. I am not getting anything at return code, standard error or standard output. Should I be getting something at these terminals, especially if my batch file fails?

 

 

 

 

PaulG.
Retired
0 Kudos
Message 1 of 4
(2,732 Views)

Hi Paul,

do you get an output if you call the batch file from the command line? What do you mean with "if the batch file fails"? Where should the error come from?

 

Mike

0 Kudos
Message 2 of 4
(2,708 Views)
I'm programming PIC's, and if the PIC programmer isn't plugged in the DOS command line returns "PIC programmer not found". I need to automate this process if possible.
PaulG.
Retired
0 Kudos
Message 3 of 4
(2,694 Views)

Hi Paul,

i think the order of "cmd /c" is important. Did you see the example in "examples\comm"?

 

Mike

0 Kudos
Message 4 of 4
(2,682 Views)