ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NaN's, 1D array sort, and LabVIEW versions

Hey all,

Sorting a 1D array of dbl's containing NaN's under LabVIEW 6.0.2 returned... well, let's just call them, entertaining results.

Doing the same under LV 7.1 returns a correctly sorted array, with the NaN's appended at the end of the sort.

Since I have little desire to test all possible cases, my question is this: Does anyone know if this new sorting behavior is stable?

Thanks all!

Joe Z.
0 Kudos
Message 1 of 3
(2,678 Views)
Hi Underflow,

Yes, I believe this behavior was corrected in LV 6.1. NaNs were not handled "correctly" by the Sort 1D Array.vi until this fix.
Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 3
(2,647 Views)
Thanks Travis!
0 Kudos
Message 3 of 3
(2,640 Views)