NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run sequence via CMD and provide parameters

How can I provide variables when I call a sequence via CMD?

 

I created a simple sequence which will just do one pop-up. Now I want to change the text of the pop-up. Sequence is attached.

 

Something like this:

C:\Program Files (x86)\National Instruments\TestStand 2017\UserInterfaces\Full-Featured\CVI\Source Code\WIN32>TestExec /run MainSequence PathToSeq\CMD_Sequence.seq Parameters.PrintString "NotDefault" /quit

 

 

0 Kudos
Message 1 of 2
(32 Views)

First thing; you would specify the argument as follows:

C:\Program Files (x86)\National Instruments\TestStand 2017\UserInterfaces\Full-Featured\CVI\Source Code\WIN32>TestExec /run MainSequence PathToSeq\CMD_Sequence.seq /myArg "NotDefault" /quit

 

/myArg could be anything.  Examples:  /data or /custom or /popUpSettings

 

This article will help you get started.

How To Get Command Line Arguments In TestStand Sequence Editor? - NI

0 Kudos
Message 2 of 2
(10 Views)