TestStand Sequence Analyzer Stand-Alone Application

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Use the TestStand Sequence Analyzer application to analyze projects outside of the TestStand Sequence Editor. You can launch the application in the following ways:

  • (Windows 8.1) Click the NI Launcher tile on the Start screen and select TestStand»Tools»TestStand Sequence Analyzer.
  • (Windows 10 or 7) Select Start»All Programs»National Instruments»TestStand»Tools»TestStand Sequence Analyzer.
  • Run <TestStand>\Bin\AnalyzerApp.exe.

The sequence analyzer application window contains the following tabs:

  • Files—The files and directories to analyze.
  • Rules—The rules to use for analysis. Use this tab to enable, disable, and configure rules for analysis in the current project.
  • Options—Contains the project options that control the analysis and determine whether the sequence editor automatically saves the current analyzer project.
  • Messages—Contains the list of messages for the most recent analysis of the current project, sequence file, or workspace file. The sequence analyzer overwrites the content of the Messages tab each time you start an analysis session.
  • Analysis Summary—Contains a summary of the most recent analysis of the project.

Command-Line Usage

Refer to the following table for more information about the commands you can perform in the sequence analyzer application. Commands are listed in order of execution.

Order Command Behavior
1 /minimize Launches the interface in a minimized state.
2 /analyze Analyzes the open project.
3 /report Generates a report for the most recently performed analysis. If no analysis has been performed, a dummy report will be generated. If the /analyze command is present, the report will not be generated until the analysis completes.
If you specify a file path after the /report command, the report will be placed in that location. If you specify a relative file path, the path will be assumed relative to the open analyzer project directory. If you do not specify a file path, the report will be placed in the analyzer project directory.
4 /save Saves the open project. If the /report command is present, the project will not save until the report has been generated.
5 /clearMessagesOnSave Deletes analysis messages from the open project on save.
6 /quit Closes the interface and quits all associated processes. If the /analyze, /report, or /save commands are present, the application will not quit until these operations are complete.
/env <environment path> Launches the application in the environment defined in the .tsenv file located at <environment path>.
/help Prints information about command-line syntax usage to the command line.

You can use the following command-line syntax to open an analyzer project:

AnalyzerApp.exe "C:\My Documents\MyProject.tsaproj"

Use the following command-line syntax to perform commands on an open analyzer project:

AnalyzerApp.exe "C:\My Documents\MyProject.tsaproj" /analyze /report /save /clearMessagesOnSave

Sequence Analyzer ExitCodes

The Sequence Analyzer application returns a negative value if there is a problem running the Sequence Analyzer, and returns a positive value if analysis reports one or more rule violations. The following are valid return codes, listed in descending order of precedence:

Number Result Behavior
-2 Invalid Paths An invalid path was passed.
-1 Invalid Flags An invalid flag was passed.
1 Analyzer Error One or more errors were reported when analyzing the project.
2 Analyzer Warning One or more warnings were reported when analyzing the project.
0 Success No Errors or Warnings were reported.

Note: If both warnings and errors are reported during the analysis of a project, the return value indicates an error.

Note Note  The Sequence Analyzer application does not require a license for build or analysis purposes, as defined by the License Agreement.

See Also

TestStand Sequence Analyzer (Example)

WAS THIS ARTICLE HELPFUL?

Not Helpful