User Guide LabVIEW 2009 VI Analyzer Toolkit Manual

User Guide LabVIEW 2009 VI Analyzer Toolkit Manual
Pages 14
Views 207
Downloads : 2 times
PDF Size : 205.8 KiB

Summary of Contents

User Guide LabVIEW 2009 VI Analyzer Toolkit Manual

  • © National Instruments Corporation11LabVIEW VI Analyzer Toolkit User Guide3.Select While Loop from the Loops control. The test now searches only for instances containing While Loops.4.Select High from the Test Ranking control. The test now receives a high rank and will appear at the top of the Test Results hierarchy in the VI Analyzer Results Window.5.Click the Next button. The Exclude Tests from VIs dialog box appears.The Exclude Tests from VIs dialog box allows you to skip specific tests for specific VIs. In some cases, a test might not be necessary for a certain type of VI. 6.Select the Gen align horizontal VI and remove the checkmark from the checkbox next to the Icon Size and Border test located in the General»Icon and Connector Pane category. Select the Gen align vertical VI and remove the same test.TipPress the <Ctrl> key and click the VI names to select multiple VIs at once if you want to exclude the same tests for more than one VI.The Gen align horizontal VI and the Gen align vertical VI are internal subVIs that users do not see, so the icon specifications are not important. Therefore, running the Icon Size and Border test on the VIs is not necessary.7.Click the Save button. Save the file as test2.cfg.8.Click the Analyze button to run an analysis with the new settings.9.In the VI Analyzer Results Window, review the results of the analysis.Using the VI Analyzer VIsThe VI Analyzer palette contains VIs that you can use to programmatically create or run VI Analyzer tasks. The programmatic option provides flexibility when you need to check programs frequently or regularly. VI Analyzer VI names begin with VIAn to identify them as part of the VI Analyzer Toolkit. The VIAn Easy Analyze and VIAn Easy Report VIs allow you to create a basic VI Analyzer task quickly. Other VI Analyzer VIs require familiarity with the analysis process and with LabVIEW programming. The VIAn Easy Analyze VI, shown at left, uses a previously saved VI Analyzer configuration file to run an analysis. The configuration file contains the path to the VIs to include in the analysis as well as the specific tests to run. You also can wire a folder, LLB, or VI path if you want to run the analysis with the default settings. The VI returns the test results in a single cluster.