I've been meaning to use the Peak Detector example VI in my program to calculate the X locations of the peaks. What I stupidly didn't realize until now is that the Peak Detector VI won't tell me the X location of the maximums according to my data's X-range. So if my data actually spans -100 to -20 in the X-axis, the peak detector will give me X-locations starting from 0.
Now I realized that the Peak Detector VI assumes evenly spaced X-values -- but although this itself isn't a problem, the lack of a subjective X-scale is.
I can't figure out for the life of me how to convert these values to an x-scale of my choice. Does anyone know a simple way of perhaps mapping these X-locations to X-locations that are subjected to my X-start and X-end?
Thank you for your suggestions,
Alex