08-18-2010 04:12 AM
After some experimentation it appears the Equals? operator does work correctly on LV Classes. However, in the LV Help the example for Equal does not mention Classes.
Is using Equals? a good way to determine if two instances of the the same Class are equivalent (i.e. all corresponding data member have equivalent values).
08-18-2010 04:23 AM
It would probably help if I searched a bit more before posting!
From the LV help on Classes:
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, similarly to the manner in which LabVIEW compares a cluster of clusters.
This is great!
08-18-2010 08:34 AM
There is also a set of LAVA post (try search for 'equal prim') that discusses this in depth.
Felix
08-18-2010 10:09 AM
Thanks Felix, I had missed this discussion.