I have a graph XY who make an acquisition of two signals, force and position in degrees. The board is a DAC Card 1200. I would like analyse only all max and min points, and ignore all others points. For that, I need take all max and min points separately, in form to put those points in a file (report). In the annexed file you can see the respective curve, the cycle is, first go the 0º to 270º (trace the up curve) and then go the 270 to 0º (trace the down curve). I need take separately the first max, them all maximums points, and all minimums of the up curve (0º to 270º). Them, the minimum point, and then all minimums and maximums points of the down curve (270º to 0º).