Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Sequence File Converter

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View Product Info

Use the Sequence File Converter tool to resave sequence files on disk using the current version of TestStand. You can also change the file format to binary, XML, or INI, and you can change the protection setting for the files. The Sequence File Converter tool, SequenceFileConverter.exe, is located in the <TestStand>\Bin directory. You can launch the tool by selecting Tools»Update Sequence Files in the sequence editor or a full-featured user interface.

When you launch the Sequence File Converter tool, the application window contains a tree view that displays directories and files on disk. You can change the base path of the tree by entering a path in the toolbar, by selecting a directory using the Browse button, or by double-clicking on folders in the tree view.

Use the Edit menu and the context menu to change the file format and protections setting for the files you select in the tree view. Setting changes made to sequence files in the Sequence File Converter application are not are written to disk until you select Edit»Apply Changes, click the Apply Changes button in the toolbar, or select Update Files from the context menu.

Command-Line Usage

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

Example

SequenceFileConverter.exe -Recursive -Unlock:myPass,myOtherPass -Format:Binary -Protect:View:myPass -"C:\My Test Directory"

This example illustrates how to:

  • 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".

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 containing 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 there are no other modifications to the file.
  • 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.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit