Converting TestStand Sequence File Using Command Line

Updated May 12, 2025

Environment

Software

  • TestStand

How can I convert a TestStand sequence file using the command line with the TestStand Sequence File Converter?

  1. First, change the directory to the folder containing the Sequence File Converter tool:

cd C:\Program Files\National Instruments\TestStand XXXX\Bin

  1. Then, use the following command to convert the TestStand sequence file:

SequenceFileConverter.exe [-Help] [-Recursive] [-Quiet] [-UpdateVersion] [-Unlock:<PasswordList>] [-Format:<Format>] [-Protect:<Mode>:<Password>] <file or directory path> [-env <environment path>]

The following list describes all of the available options you can use in the command line for the sequence file converter:

      • Help: Launches a dialog box explaining the command-line arguments.

      • Recursive: Applies changes to files in directories below the specified directory.

      • Quiet: Disables prompts to confirm conversion and unlock files.

      • UpdateVersion: Saves sequence files with the current version of TestStand even if no other modifications exist.

      • Unlock:<PasswordList>: Attempts to unlock files for editing using a comma-delimited password list. Note: This does not remove password protection.

      • Format:<Format>: Converts all files to the specified format. Possible values are binary, INI, and XML.

      • Protect:<Mode>:<Password>: Protects all files with the specified password. Possible values are Edit, View, and DisableNote: The Disable value removes password protection from all files unlocked during conversion.

      • env<environment path>: Launches the Sequence File Converter tool in the environment defined by the .tsenv file located at the specified path.

  1. Press OK when a window confirming changes pops up.

Example command:

SequenceFileConverter.exe -Format:INI "C:\Users\Public\Documents\National Instruments\TestStand 2021 (32-bit)\Examples\Demos\Mobile Device Test\Mobile Device Test.seq"
    
This example shows:

  • How to convert "C:\Users\Public\Documents\National Instruments\TestStand 2021 (32-bit)\Examples\Demos\Mobile Device Test\Mobile Device Test.seq" to INI format.
  • The file does not have password protection.