VI Analyzer Configuration File
Appearance
![]() |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
The VI Analyzer Configuration File contains the configuration and settings for a VI Analyzer Task, including the list of items to analyze, the tests to perform, and test configurations. It can be created manually, from the Analyze VIs command, or programmatically with the LabVIEW VI Analyzer Toolkit add-on.
File format
VI Analyzer supports two configuration file formats. The legacy format (.cfg), and the XML-based format (.viancfg).
Legacy format (.cfg)
The legacy configuration file format was used until VI Analyzer 2017. In VI Analyzer 2018 and later, legacy configuration files can still be loaded but are read-only.
XML-based format (.viancfg)
The XML-based configuration file format was first introduced in VI Analyzer 2018.
Example
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Config>
<FileFormatVersion>1</FileFormatVersion>
<AnalyzeProject>FALSE</AnalyzeProject>
<ProjectPath>""</ProjectPath>
<TargetIndex>0</TargetIndex>
<ItemsToAnalyze>
<Item>
<Path></Path>
<Removed>FALSE</Removed>
</Item>
</ItemsToAnalyze>
<TestConfigData>
<Test>
<Name>"Arrays and Strings in Loops"</Name>
<Ranking>0</Ranking>
<MaxFailures>5</MaxFailures>
<BasePath>"LabVIEW"</BasePath>
<RelativePath>"project\\_VI Analyzer\\_tests\\Block Diagram\\Performance\\Arrays and Strings in Loops.llb"</RelativePath>
<Selected>TRUE</Selected>
<Controls>
<Control>
<Name>"Functions"</Name>
<Type>"Int"</Type>
<Value>1</Value>
</Control>
</Controls>
</Test>
</TestConfigData>
<ExclusionData>
<Item>
<Path></Path>
<ExcludedTests>"Arrays and Strings in Loops"</ExcludedTests>
</Item>
</ExclusionData>
</Config>