eeniu,
I might suggest taking a FFT to determine the main frequency component, and then apply a low pass filter under that main component to get a more smooth graph. Once you have the data smoothed out some, you should be able to apply a threshold value to find both peaks, even if they are of different amplitudes.
Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments