User Guide LabVIEW 2009 VI Analyzer Toolkit Manual

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

Summary of Contents

User Guide LabVIEW 2009 VI Analyzer Toolkit Manual

  • Page 1

    USER GUIDELabVIEW 2009 VI Analyzer ToolkitThe LabVIEW 2009 VI Analyzer Toolkit allows you to interactively and programmatically test VIs to find areas for improvement. The toolkit contains 78 tests that address a wide range of performance and style issues.The toolkit organizes the tests into the ...

  • Page 2

    LabVIEW VI Analyzer Toolkit User Guide2ni.comContents 2,About the VI Analyzer Toolkit...... 2,..........................................................2 3,Using the VI Analyzer 3,.............................................................................3 3,Creating and Configuring a VI Analyz...

  • Page 3

    © National Instruments Corporation3LabVIEW VI Analyzer Toolkit User GuideThe VI Analyzer Toolkit provides two options for creating, configuring, and running VI Analyzer tasks. You can use the VI Analyzer by selecting Tools»VI Analyzer»Analyze VIs to interactively select the settings you want f...

  • Page 4

    LabVIEW VI Analyzer Toolkit User Guide4ni.com4.Expand the folder in the Items to Analyze hierarchy to display a list of all VIs, as shown in the following dialog box.Notice the Include/Exclude Item(s) button, which you can use to select or remove the exact VIs you want in or removed from a VI Ana...

  • Page 5

    © National Instruments Corporation5LabVIEW VI Analyzer Toolkit User GuideFor this exercise, do not change the test selections in the Tests hierarchy.NoteBy default, the VI Analyzer selects all tests in the Tests hierarchy to run in a VI Analyzer task.6.Click the Next button. The Exclude Tests fr...

  • Page 6

    LabVIEW VI Analyzer Toolkit User Guide6ni.com8.You can assign a password to a configuration file if you want to prohibit other users from loading the file.In the Password Protect Configuration File? dialog box, use the default No option to disable password protection for the configuration file. C...

  • Page 7

    © National Instruments Corporation7LabVIEW VI Analyzer Toolkit User Guide4.Click the Occurrence 1 item. Notice the text in the Description text box that describes why the VI failed the test, as shown in the following example.The VI failed the test because multiple controls on the front panel hav...

  • Page 8

    LabVIEW VI Analyzer Toolkit User Guide8ni.com7.Click the Testing Errors tab of the VI Analyzer Results Window. If errors occur during the analysis, the Testing Errors page displays a list of VIs and tests that did not load, tests that did not run, and tests in which errors occurred. For example, ...

  • Page 9

    © National Instruments Corporation9LabVIEW VI Analyzer Toolkit User Guide8.Click the Yes button to save the results in a VI Analyzer results file (.rsl) that you can view later in the VI Analyzer Results Window. A file dialog box appears. Select the path and filename you want for the results fil...

  • Page 10

    LabVIEW VI Analyzer Toolkit User Guide10ni.comCustomizing Tests within VI Analyzer TasksMany of the tests included with the VI Analyzer allow you to set certain criteria for passing or failing the tests. TipYou can set test criteria the way you want, then save the configuration file without speci...

  • Page 11

    © 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 T...

  • Page 12

    LabVIEW VI Analyzer Toolkit User Guide12ni.comThe VIAn Easy Report VI, shown at left, converts the analysis results from the VIAn Easy Analyze VI into a report. You can specify whether the report is in ASCII or HTML format, which results to include, and where the VI saves the report file.Use the ...

  • Page 13

    © National Instruments Corporation13LabVIEW VI Analyzer Toolkit User GuideAutomating VI Analyzer TasksYou can use the VI Analyzer VIs to create a program that dynamically creates and modifies a VI Analyzer task.Use the NI Example Finder to open the Advanced VI Analysis VI. Select Help»Find Exam...

  • Page 14

    National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their ...