LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

maximum value for 2D array

I'm using 7.1.  Does anyone have a subvi made up already for getting the maximum value from a 2-D array?
0 Kudos
Message 1 of 5
(5,625 Views)
the vi in the Array pallete named Max and Min is a polymorphic vi that you can wire in a 2 d array that ill find the max and min

Kenny
Kenny

Message 2 of 5
(5,599 Views)
Here is something I wrote in 7.1
 
Brian
Brian
0 Kudos
Message 3 of 5
(5,598 Views)
Kenny is right. just wire the 2D array to array min&max. No need to jump through loops (sic) 😉
 
The index output will be an array where the elements correspond to the indices of the Max element in all dimensions.
Message 4 of 5
(5,594 Views)
I guess I must like the exercise. 
Brian
0 Kudos
Message 5 of 5
(5,584 Views)