|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Use the Comparison functions to compare LabVIEW class objects.
If you compare two objects of the same class, for example two objects of the Truck class, LabVIEW compares the data at all levels of the class hierarchy, similar to the manner in which LabVIEW compares a cluster of clusters.
If you compare two objects of different classes, for example an object of the Truck class and an object of the Submarine class, LabVIEW compares the data for as many ancestor classes as the objects have in common. In this case, LabVIEW compares the data of the Vehicle class, the only common ancestor class.
When comparing two objects of different classes, if all data in the common ancestor class or classes is the same, LabVIEW orders the objects based on the following criteria.