I've attached an XY graph with a signal and a peak detection, you can see that labview detects the peaks and valleys but i want the detection at the beginning and at the end of a peak (where the arrows are), is there a VI for this? or does anyone knows how to make this?