LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get max value of xy graph

Hi
I'm generating an xy graph in multiple calls.
after the last call i want to know the max y-value. how can i get that?
thx simon
Using Labview 7.1
0 Kudos
Message 1 of 3
(4,029 Views)

Hi Simon

Depends on how you have created your XY chart. If you have an array of clusters see the attached diagram, if you have a cluster of arrays then just extract the Y array from the cluster and find the Max Y in a similar way to the diagram.

Hope this helps

Ian

Message 2 of 3
(4,020 Views)
Hi,

you have different way to build an XY graph (multi/single plot, etc) depending on this, the way to proceed will be slightly different.
but to access the whole data in the graph at the end, you can use a local variable and unbundle plot by plot to get the array that correspond to each Y plot, then use the "Array Max & Min" function in the array palette.

If you need further help, post your VI 😉

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 3
(4,018 Views)