Comparing VIs
- Updated2026-02-27
- 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.
Introduced in LabVIEW 2022 Q3[1]1 Available in Base, Full, and Professional edition beginning with LabVIEW 2022 Q3. In LabVIEW 2021 and earlier, this functionality requires Professional edition.
- Open a LabVIEW project.
- Select 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 select only VIs that are already loaded into memory.
- Select comparison options in the Differences dialog box.
-
Click Compare.
Note The progress bar indicates the steps in the comparison algorithm, not the number of differences left to find.Note Use the same steps to compare private data controls of LabVIEW classes. You must place each version of the class in a different project and enter the project paths into the VIs to Compare text fields using the following syntax: ProjectName.lvproj\My Computer\ClassName.lvclass:ClassName.ctl.When the comparison is complete, LabVIEW displays the front panels and block diagrams of the two VIs along with the Differences dialog box.
Comparing very large VIs can be time consuming. You can cancel the comparison of two VIs in the Comparison Progress dialog box.
- Optional:
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.
1 Available in Base, Full, and Professional edition beginning with LabVIEW 2022 Q3. In LabVIEW 2021 and earlier, this functionality requires Professional edition.