LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding the 25th largest number in an array

if any 2 values are same the algorithem fails to find correct index any idea why?

0 Kudos
Message 11 of 13
(56 Views)

Hi Raj,

 


@Rajhelboy wrote:

if any 2 values are same the algorithem fails to find correct index any idea why?


Which of all those VIs in this very old thread are you talking about?

Can you provide an example VI to demonstrate your observation?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 12 of 13
(52 Views)

If you want the 25th unique number you need to filter the data first.

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
0 Kudos
Message 13 of 13
(24 Views)