From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find a row in an array with largest value

Of course if the list get really long (> a few k), you'd keep the current max value in a shift register:

 

check 2.png

 

I stored the array index instead of the string, just to show it's possible. You can mix the ideas, for instance use the index and the sort, or use the string with the shift register...

 

You could keep the NumericRange and index in two shift registers, instead of a cluster in one shift register. This is especially useful if you only care about the max or the index, not both.

 

0 Kudos
Message 11 of 11
(199 Views)