Path of VI 1: The path for the first VI you want to compare.
Path of VI 2: The path for the second VI you want to compare.
VI Attributes: Compares attributes of the two VIs using the settings in the VI Properties dialog box.
Front Panel: Compares objects on the front panel.
Front Panel Position/Size Changes: Compares the position and size of the objects on the front panel.
Block Diagram: Compares the functional differences on the block diagrams.
Block Diagram Cosmetic Changes: Compares changes on the block diagrams that do not affect the execution of the VI, such as color changes, visible subdiagrams in Case and Stacked Sequence structures, format and precision of constants, and Event structures.
Block Diagram Position/Size Changes: Compares the position and size of the objects on the block diagram.
Same?: Boolean indicator indicating whether or not a difference was found between the two VIs.
Differences: A string indicator with descriptive information about what the difference between the two VIs was.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.