Viewing Examples in the Sequence Analyzer

Complete the following steps to show the example rules and analysis modules that use LabVIEW, LabWindows/CVI, Microsoft Visual C#, and Microsoft Visual C++ modules in the TestStand Sequence Analyzer.
  1. Launch the Configure Sequence Analyzer Available Rules dialog box.
  2. Click the Import button to launch the Import Items from File dialog box.
  3. Click the Browse button and browse to <TestStand Public>\Examples\TestStand Debugging Features\Custom Analyzer Rules - <RuleName>\<Environment> directory and select the example rules file (.tsarules) you want to import in the Select File to Import From control, where <RuleName> is the rule name and <Environment> is one of the following: LabVIEW, CVI, CSharp, or VC.
  4. Enable all example rules and analysis modules in the Select Items to Import list.
  5. Click the Import button to add the example rules and analysis modules to all new and existing sequence analyzer projects on the computer.
  6. Click Close in the Import Items from File dialog box to return to the Configure Sequence Analyzer Available Rules dialog box.

The sequence analyzer adds the example rules and analysis modules to the CustomRules.tsarules section on the Rules tab and on the Analysis Modules tab of the Configure Sequence Analyzer Available Rules dialog box and adds an Example category to the Rules pane of the Current Sequence Analyzer Project window or the Rules tab of the stand-alone sequence analyzer application.

You can examine the source code for the example rules by viewing the files in the <TestStand Public>\Examples\AnalyzerCustomRules directory.
Note   In addition to the sequence analyzer examples, National Instruments provides the source code for the built-in analysis rules in the <TestStand>\Components\Analyzer\NIAnalysisModules directory. The source code for the built-in analysis rules is appropriate for use as an example of how to use the sequence analyzer API, but is not recommended as a starting point for developing new rules.