The TestStand Sequence Editor and all user interface applications support command-line options
for opening and running sequences. You can create a batch file that will run the TestStand Sequence Editor and call your sequence file by using command lines as following:
- Open a text file, such as a Notepad or WordPad document.
- Add your commands, starting with @echo [off], change your directory with cd, launching the executable file with start, and exit the batch file. Here is an example:
cd "C:\Program Files (x86)\National Instruments\TestStand 2017\Bin"
start SeqEdit.exe /run MainSequence "<your sequence file path>"
- Save this file (making sure your Save as type is set to All Files) with the .bat extension.
- Create a shortcut to the batch file.
- Once the shortcut has been created, right-click the shortcut file and select Cut.
- Press Start, type Run, and press Enter.
- In the Run window, type shell:startup to open the Startup folder.
- Once the Startup folder is opened, right-click and select Paste.