LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Max Y with corresponding X

Solved!
Go to solution

Hello, 

 

I am currently working on obtaining max values from an XY graph. I can obtain the Max Y values from my input array, but I am unsure how to obtain the X value corresponding to the Max Y value. I have read somewhere about using max index(es) on the Array Max Min function but that leaves me with the location of the x value. How do you go from there to obtaining the actual x value? Thank you.

0 Kudos
Message 1 of 2
(2,646 Views)
Solution
Accepted by Zzimmha42

IndexArray your X array with the index you found...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,640 Views)