Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Comparing VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

The Compare VIs dialog box, also called graphical differencing, helps you track changes in an application by comparing multiple versions of a VI. This becomes especially important as a project grows and involves more developers.

Note  The Compare VIs dialog box is available only in the LabVIEW Professional Development System.

You can select options to control the types of differences you want to detect and view. For example, you can filter out cosmetic changes such as objects being moved or resized. When you compare the VIs, a window displays a summary of the differences. If you select an item from the summary, LabVIEW displays and highlights the differences between the two VIs.

Complete the following steps to compare two VIs.

  1. Because LabVIEW cannot load two VIs with the same name, you must rename one of your VIs to compare them. Renaming the VIs does not affect the name of the subVIs. If you compare two hierarchies of VIs, LabVIEW temporarily renames the top-level VI.
  2. Select Tools»Compare»Compare VIs from the front panel or block diagram menu of a VI to display the Compare VIs dialog box.
  3. Click the Select button to open the Select a VI dialog box and select a VI by name. You can select only VIs that are already loaded into memory.
  4. Select comparison options by placing checkmarks in the appropriate checkboxes in the Compare field.
  5. Click the Compare button.

Comparing very large VIs can be time consuming. You can cancel the comparison of two VIs in the Comparison Progress dialog box.

The progress bar indicates the steps in the comparison algorithm, not the number of differences left to find. When the comparison is complete, LabVIEW displays the front panels and block diagrams of the two VIs with the Differences window.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit