LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

min/max from thre number

Hi!

 

I have 3 number, and i wan't to know, which one is the smallest. do i need two minimum function or is an ather way? Thx!

0 Kudos
Message 1 of 3
(2,625 Views)

On the array palette ther is a Min Max Array version. Use a "Build array" to create an array of your threee values then pass the resulting array to the Array min Max function. It has outputs to tell you the min max and the index of both if desired.

 

Have fun!

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,624 Views)
This is what Ben is talking about.
Tim
GHSP
0 Kudos
Message 3 of 3
(2,600 Views)