Sequence File Converter
- Aktualisiert2025-07-21
- 2 Minute(n) Lesezeit
Sequence File Converter
Use the Sequence File Converter tool to resave sequence files on disk using the current version of TestStand.
Command-Line Usage
SequenceFileConverter.exe [-Help] [-Recursive] [-Quiet] [-UpdateVersion] [-Unlock:<PasswordList>] [-Format:<Format>] [-Protect:<Mode>:<Password>] <file or directory path> [-env <environment path>]Example
SequenceFileConverter.exe -Recursive -Unlock:myPass,myOtherPass -Format:Binary -Protect:View:myPass "C:\My Test Directory"This example shows how to complete the following tasks:
- Unlock all files under "C:\My Test Directory" using either " myPass " or " myOtherPass ".
- Convert unlocked files to binary format.
-
Set password protection to prevent viewing of the converted files, using "
myPass
".
Note TestStand supports password-protecting sequence files to deter editing and viewing within the sequence editor and user interfaces that use the TestStand User Interface (UI) Controls. The TestStand API limits access to a file protected from viewing but cannot prevent access to the file content during execution. National Instruments does not recommend using passwords as the only way of protecting intellectual property.
Command-Line Options
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 that contains an explanation of the command-line arguments.
- Recursive —Applies changes to files found in directories below the specified directory.
- Quiet —Disables the prompt to confirm conversion and prompts to unlock files.
- UpdateVersion —Saves sequence files with the current version of TestStand even if no other modifications to the file 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 for <Format> are binary, INI, and XML.
-
Protect:<
Mode
>:<
Password
>
—Protects all files with
<password>
. Possible values for
<Mode>
are Edit, View, and Disable.
Note The Disable value removes password protection from all files unlocked during conversion.
- env< environment path > —Launches the Sequence File Converter tool in the evironment defined by the .tsenv file located at the path you specify. Click here for more information about .tsenv files and here for more information about choosing an evironment with the -env command line switch.