LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find highest value in an array (or cluster)

I have what should be a simple task here, but I'm not finding it simple, or shall I say, "small" insofar as diagram objects. Task is: Find highest value in an array of numbers. Is there a function or VI I'm not aware of that'll do this? If not, could someone demonstrate a small vi that does this? Thanks
 p.s., my array has 12 numbers. It's actually a Cluster, but can be converted of course.
Richard






0 Kudos
Message 1 of 6
(3,531 Views)
OH, It has to be FAST also. Thanks again.
Richard






0 Kudos
Message 2 of 6
(3,530 Views)
Well... you can try this one but it might be faster to roll your own with a for loop.
 
 
0 Kudos
Message 3 of 6
(3,521 Views)
Use the array max/min from the block diagram array tools.
Message 4 of 6
(3,522 Views)
DOH!
I missed that one.  I've even used it before... Smiley Surprised
What can I say 😃 its a friday
0 Kudos
Message 5 of 6
(3,506 Views)
THANKS. All those things start to run together and look the same after a while! Smiley Very Happy Thanks for finding it for me.
Richard






0 Kudos
Message 6 of 6
(3,497 Views)