"resampling" is not the correct word. Look for "interpolation" instead.
1) use the "General Polynomial Fit.vi" to obtain the coefficients of a
polynomial that fits your each curve. Choose an order which is high enough
to fit your data and reject noise at the same time.
2) use "1D Polynomial Evaluation.vi" to obtain the y value corresponding to
the new x
But you can even find the maximums without resampling/interpolating :
1) use the "General Polynomial Fit.vi" as above
2) use my "Polynomial Derivative.vi"
(http://dynabits.com/labview/libview.htm, or rewrite it, it's easy 😉 to
obtain the coeffs of the derived polynomial
3) use the "Complex Polynomial Roots.vi" and "Categorize Roots.vi" as in the
"Real Roots Example.vi" to obtain the roots of the deriva
tive of the
polynomial, which happen to be the x values of all maximums and minimums of
your curve
4) use "1D Polynomial Evaluation.vi" to obtain the value of those max/mins
and the values of the other curves at these points only.
This solution looks a bit complicated at first sight, but it will be much
more compact and efficient in the end. If you meet problems, tell me and
I'll add a "Polynomial Max&Mins.vi" to my library, but you'll have to pay
for it ($100 with diagram)
Philippe Guglielmetti - www.dynabits.com