Export VI Analyzer Configuration to Different LabVIEW Projects

Updated Apr 23, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW VI Analyzer Toolkit

Issue Details

I am using LabVIEW VI Analyzer Toolkit to analyze VIs in a LabVIEW project. I then saved the Analyzer configuration to a .cfg file.
Then, I opened a different project, launched VI Analyzer Toolkit and selected option Load a previously saved analysis configuration file.
However, the configuration file seems to point to the original project, which opens (if the project is not present anymore at the original path, an error is returned).

How can I export a saved VI Analyzer configuration to a different LabVIEW project?
 

Solution

When you save a VI Analyzer configuration file for a specific project, the project path will be integrated in the .cfg file, thus you cannot load the same .cfg file for a different project.
In order to create a VI Analyzer configuration which can be used to analyze different projects with the same tests, you should follow these steps:
  1.  in LabVIEW, click on Tools»VI Analyzer»Analyze VIs...
  2. select Start a new VI Analyzer Task option
  3. click Next twice, thus without selecting any Top Level Items in Items to Analyze window
  4. select the Tests you would need to run
  5. click on Save... button to save the VI Analyzer configuration (.cfg) file and then click on Close. This will be the generic configuration file (containing the definition of the tests to be executed) which you will be able to use to analyze different LabVIEW projects
  6. in order to run the analysis, click on Tools»VI Analyzer»Analyze VIs... again
  7. select option Load a previously saved analysis configuration file and then click Next button
  8. click on Add Top Level Item button, browse to your project folder path and click on Current Folder button
  9. click Next button twice: the tests will be already correctly selected as you configured previously
  10. click Analyze button to start analysis
  11. you can also save a new VI Analyzer configuration (.cfg) file specifically linked to the project you just analyzed if needed
     

Additional Information

VI Analyzer Toolkit is included in LabVIEW Professional 2014 or later.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful