VI Analyzer Enthusiasts Documents

Showing results for 
Search instead for 
Did you mean: 

Test - Comparing Variants

This test detects use of the functions Equal?, Not Equal?, Greater?, Less?, Greater Or Equal?, and Less Or Equal?. If either of the inputs to these functions is a variant or contains a variant, the test returns a failure.




In some cases, comparing variants can result in a temporary data copy, which can cause performance issues with large variants. If you are comparing against an empty variant, consider using the Empty String/Path? function, which can also check for empty variants, and does not create the temporary data copy.


This test is saved in LabVIEW 2014. Follow the instructions here to install and use this test.

DNatt, NI