NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Running teststand sequence on windows terminal withought opening testastand and getting all report on ternimal only

Is it possible to run teststand sequence on terminal and get sequence pass/fail result on terminal itself like running python scripts on terminal and getting results on terminal itself

0 Kudos
Message 1 of 2
(3,057 Views)

Yes - see the help document here:

Configuring Sequence Editor and User Interface Startup Options

 

 The command and response will look something like this:

C:\Users\Public\Documents\National Instruments\TestStand 2016 (64-bit)\UserInter
faces\Simple\CVI\Source Code\x64>TestExec /runEntryPoint "Single Pass" "C:\Users
\Public\Documents\National Instruments\TestStand 2016 (64-bit)\Examples\Demos\Co
mputer Motherboard Test\CVI\Computer Motherboard Test Sequence.seq" /outputToStd
IO /quit

C:\Users\Public\Documents\National Instruments\TestStand 2016 (64-bit)\UserInter
faces\Simple\CVI\Source Code\x64>Execution 'Single Pass - Computer Motherboard T
est Sequence.seq [4]' ended
Status: Passed

Note that you'll need to take a little extra work to suppress any dialogs (like the log-in log out dialog).

 

It's also possible to send custom commands if you need to - I wrote a few examples of this a while back:

CVI Example

.NET Example

LabVIEW Example

 

Another option is to write a basic command line app that doesn't use the TestStand UI Controls, and just use the TestStand API to call Engine.NewExecution().

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
Message 2 of 2
(3,037 Views)