The example 'peak detection example.vi' shows use of the peak detection vi and it returns an array of peak locations (or minimas) as well as the values. (Search the examples with the keyword PEAK)
Then look up the graphing examples to see how to program the cursor location on your graph. (Search the examples with the keyword GRAPH see Zoom Graph)
