To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates two methods of searching an array of values for the minimum value. Then removing the minimum value from the array and averaging the remaining values.
Description
The Find Lowest Value in Array Take Average VI performs the following steps:
The Find Lowest Value in Array Take Average Modified VI performs the following steps:
Steps to Implement or Execute Code
Requirements to Run
Software
LabVIEW 8.6 or 2012 or compatible
Additional Images
Block Diagram of Find Lowest Value in Array Take Average

Block Diagram of Find Lowest Value in Array Take Average Modified

**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thanks for posting!
I wonder if you know that the entire left-hand side of the VI (up to and including "Search 1D Array") could be replaced by the single function "Array Max & Min" found in the array palette, which returns not only the minimum, but its index as well.
I was thinking the same thing when I left my comment, but was too afraid to say...
See attached. I runs 4-5 times faster on large arrays.
BOOM! Nice work!
I have no idea how I missed that function....oh well, thanks for the tip!