Saving and Loading Configuration Files

Note Note  The VI Analyzer functionality this topic describes is available only if you install and activate the LabVIEW VI Analyzer Toolkit or if the LabVIEW Data\VI Analyzer Tests directory contains tests.

You can save the settings you configure for a VI Analyzer task into a configuration file that you can load into the VI Analyzer. The configuration file contains the path to the VIs you want to analyze, the tests you want to run, and the settings you select for specific tests. You can distribute a configuration file to other users.

Creating a Configuration File

Complete the following steps to create a configuration file.

Tip  You can set the test criteria you want and save the configuration file without specifying VIs in the VI Analyzer - Select VIs dialog box. You can use this configuration file to run the same VI Analyzer task on different groups of VIs.
  1. Create and configure a VI Analyzer task.
  2. From any dialog box in the VI Analyzer, click the Save button. A file dialog box appears.
  3. Navigate to the location where you want to save the configuration file.
  4. Enter the filename you want for the configuration file and click the OK button.

Loading a Configuration File

Complete the following steps to load a configuration file into the VI Analyzer.

  1. Select Tools»VI Analyzer»Analyze VIs. The VI Analyzer - Select Task dialog box appears.
  2. Select the Load a previously saved analysis configuration file option and click the Next button. A file dialog box appears.
  3. Navigate to the configuration file you want to load and select it. You are prompted to enter the password if the configuration file is password-protected. The VI Analyzer - Select VIs dialog box appears with the settings you saved in the configuration file. The settings you saved also appear in the VI Analyzer - Select Tests and VI Analyzer - Exclude Tests from VIs dialog boxes.

You also can load a configuration file into the Path to Configuration File input of the VIAn Easy Analyze VI or the VIAn New Task VI.

Editing a Configuration File

The VI Analyzer configuration file is a text file. If you edit the configuration file using a text editor, NI recommends that you load the file in the VI Analyzer, save the file without any new change, and compare the two versions of the file. These steps verify that the VI Analyzer accepts the changes you made using the text editor.

Refer to the Loading VI Analyzer Configuration Files section of the LabVIEW VI Analyzer Toolkit User Guide for more information about saving and loading configuration files.