ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand command line options

Solved!
Go to solution

Hi All.

 

I'm trying to understand how to interface with TestStand from the command line.

 

I have so far found these article:

Forum: Using TestStand And Jenkins

Tutorial: Getting Started with TestStand and Jenkins

TestStand command line options

Sequence Analyzer command line options

 

For now I just working on the example project 'Computer Motherboard Test Sequence' that ships with TestStand.

 

I am able to open TestStand and run the sequence with this command:

SeqEdit.exe /run MainSequence "C:\your-path\Computer Motherboard Test Sequence.seq"

 

I have one issue though: The command returns immediately, so how can I tell of the sequence is completed running?

 

I would also like to run the Analyser, which I can do manually by pressing the "Analyzer" button in the sequence. But if I want to do this operation from the command line, it seems like I need an Analyzer project? I have tried this command:

AnalyzerApp.exe "C:\CIM\CIM-Test\HardwareTest\Computer Motherboard Test Sequence.seq" /analyze

 

But it just opens the standalone Analyzer app with an error because I do not have a Analyzer project. Do I really need to have that?

 

 

Thanks for reading.

 

Best Regards

Alex E. Munkhaus
Certified LabVIEW Developer (CLD)
System Engineer
0 Kudos
Message 1 of 4
(6,615 Views)

Did it prompt you to login?

 

what is that path to the sequencefile?

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(6,591 Views)

You should experiment with the other command line options to try to figure out what's going on:

  • /outputToStdIO
  • /quit
  • etc..

if it's immediately returning, it's probably not executing the sequence.

 

You do need an analyzer project - the button in the sequence editor runs it under the one in your public directory by default:

%TestStandPublic% or %TestStandPublic64%/MyAnalyzerProject.tsaproj

 

 

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 4
(6,585 Views)
Solution
Accepted by topic author A.E.M

Please see this topic for more information:

https://forums.ni.com/t5/Continuous-Integration/TestStand-command-line-options/gpm-p/3949666

Best Regards

Alex E. Munkhaus
Certified LabVIEW Developer (CLD)
System Engineer
0 Kudos
Message 4 of 4
(6,570 Views)