Comparing VIs
- Updated2025-08-15
- 2 minute(s) read
The Compare VIs dialog box helps you track changes in an application by comparing multiple versions of a VI using graphical differencing. Version control becomes more important as a project grows and involves more developers.
- Open a LabVIEW project.
- Select Tools»Compare»Compare VIs from the front panel or block diagram menu of a VI to display the Compare VIs dialog box.
- Click Select to open the Select a VI dialog box and select a VI by name. You can only select VIs that are already loaded into memory.
- Select comparison options in the Differences dialog box.
- Click Compare.
Comparing very large VIs can be time consuming. You can cancel the comparison of two VIs in the Comparison Progress dialog box.
When the comparison is complete, LabVIEW displays the front panels and block diagrams of the two VIs along with the Differences dialog box. You can specify the types of differences you want to detect and view in the Differences dialog box. For example, you can filter out cosmetic changes such as objects being moved or resized. If you select an item from the summary, LabVIEW displays and highlights the differences between the two VIs.
- A web page (.html)
- An XML document (.xml)
- A text file (.txt)
- A Microsoft Word document (.docx (Windows)).
You also can create a comparison report when you compare VI hierarchies.