Edit Analysis Module Dialog Box
- Updated2024-10-09
- 4 minute(s) read
Edit Analysis Module Dialog Box
Double-click an analysis module specification, right-click an analysis module specification and select Edit Analysis Module from the context menu, or click the Edit Analysis Module button located to the right of the Module column on the Analysis Modules tab of the Configure Sequence Analyzer Available Rules dialog box to launch the Edit Analysis Module dialog box, in which you can view the settings for built-in analysis modules and edit the settings for custom analysis modules.
The Edit Analysis Module dialog box contains the following options:
-
Module
—Path to the VI, LabVIEW NXG Project, or DLL module the TestStand Sequence Analyzer calls during analysis. For DLLs, use the Function control to specify the function in the DLL to call. Entering a VI path hides the Function control and shows the Run VI in LabVIEW Run-Time Engine control.
Entering a LabVIEW NXG project shows a Module Name control. Use the Module Name control to select a LabVIEW NXG VI to call during analysis. LabVIEW NXG VIs are called in the LabVIEW NXG Development System when executed by the Sequence Analyzer.
National Instruments recommends that you save modules you create for custom rules in a custom subdirectory of the
<TestStand Public>
\Components\Analyzer
directory.
Note National Instruments recommends that you also use a company name as part of the directory name to avoid potential conflicts with other custom analysis modules.
- Run VI in LabVIEW Run-Time Engine —When you enable this option, you can always use a LabVIEW Run-Time Engine (RTE) to run the VI, regardless of the global LabVIEW Adapter setting. This option specifies that the LabVIEW Adapter settings must be ignored and the VI must be loaded with the same version of the LabVIEW RTE in which the VI was last compiled. This guarantees that the VI will always be loaded with a specific version of the LabVIEW RTE, even if another version exists. When you disable this option, the sequence analyzer uses the LabVIEW Adapter settings to determine whether to run the VI in the LabVIEW RTE or in the LabVIEW development system.
- Call Module for these Kinds of Objects —Kinds objects for which the sequence analyzer calls the analysis module. Select the kinds of objects you want the analysis module to analyze. Enable the Subproperties of Above item at the bottom of the object list to analyze subproperties of the objects you select.
-
Call Module for Instances of these Types
—Types of objects for which the sequence analyzer calls the analysis module. Enter the type names in the list directly or click the
Add Type From List
button to add types to the list.
If the list is empty, the sequence analyzer calls the analysis module for all instances of types that correspond to the items you selected in the Call Module for these Kinds of Objects control. If the list contains one or more types, the sequence analyzer calls the analysis module only for instances of the types you specify. For example, if you select
Steps
in the Call Module for these Kinds of Objects control, use the Call Module for Instances of these Types control to specify a specific step type to analyze. If you select Steps in the Call Module for these Kinds of Objects control and do not specify a type in the Call Module for Instances of these Types control, the sequence analyzer calls the analysis module for all steps, regardless of step type.
Note The sequence analyzer calls analysis modules only for objects that have associated PropertyObjects . Because the elements in number, string, Boolean, and object reference arrays do not have associated PropertyObjects , the sequence analyzer does not call analysis modules for those array elements. To analyze those types of array elements, you must add the array type to the list, and the analysis module must iterate over the array elements.
- Call Module for these Transitions —Analysis transitions on which the sequence analyzer calls the analysis module. Click the Add Transition From List button to add transitions to the list. Each time the sequence analyzer transitions between analyzing one type of object to analyzing a different type of object, it calls analysis modules configured to be called for that type of transition. For example, an analysis module can count the number of steps in each analyzed sequence file if you select Steps in the Call Module for these Kinds of Objects control and add the Before»Sequence File and After»Sequence File transitions. In this example, the analysis module resets a counter in the Before»Sequence File transition, increments the counter for each step and reports the total count in the After»Sequence File transition. Analysis modules can also use the Before»System transition to perform initialization tasks and the After»System transition to perform cleanup tasks for the analysis session.
See Also
Configure Sequence Analyzer Available Rules dialog box