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: 

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
(6,282 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
(6,256 Views)
Here is something I wrote in 7.1
 
Brian
Brian
0 Kudos
Message 3 of 5
(6,255 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
(6,251 Views)
I guess I must like the exercise. 
Brian
0 Kudos
Message 5 of 5
(6,241 Views)