NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing CMD Window when Calling Batch File

Hi,

 

Using TestStand 2013, I'm using the "Call Executable" step type to run a batch file that programs firmware onto a small Texas Instruments MCU. If I run the batch file outside of TestStand, I'm able to see the command output window as the batch file executes in real time (can see percent completed progress). When making this same call in TestStand, however, I can't see the CMD Line window at all. The step just pauses, and then returns the entire output at once once the batch file finishes running. Is there a way to see the CMD line window as the batch file runs, being called by TestStand?

 

If I call 'cmd.exe' directly within teststand I can get the command line window, but I can't figure out a way to show the window while running the batch file. 

 

Thanks!

0 Kudos
Message 1 of 2
(1,183 Views)

I don't know why you can't, but, you see, I add a Call Executable step in teststand, and then set it to run a simple bat file. Even I set it as a batch processing model (2 process). It works normally and displays the 2 output CMD form of operation windows

If you can't use this method, you may want to consider whether your bat file output method uses non-standard output.

Download All
0 Kudos
Message 2 of 2
(961 Views)