VI Analyzer Enthusiasts Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Test - Swapped Range Inputs

This test returns a failure for any In Range and Coerce function that has a value wired to its 'upper limit' terminal that is smaller (numerically) than the value wired to its 'lower limit' terminal:

http://forums.ni.com/t5/image/serverpage/image-id/118366i84BF290D1FEAC180/image-size/original?v=mpbl-1&px=-1

As discussed in this Idea Exchange entry, this can lead to problems that are difficult to debug. The test currently only checks constants that are wired to both terminals that can both be cast to numeric types.

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

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Contributors