I have an application that I am testing with a sine wave input. I acquire the sine wave data, plot the raw data, calc and display the power spectrum. When the sine wave is centered about 0 volts the power spectrum seems to work fine. The problem I have is when the sine wave is not centered about 0 volts, or has a small amplitude. In this case I do not see a "peak" on the power spectrum at the input sine wave frequency. I need to extract the frequency information from a signal with a non-zero average that has a frequency imposed on top of it. The real world case is a pressure probe that may have an average pressure of 800 psi but a 30 psi, 10 Hz pressure oscillation on top of it. I need to the graph to show that the pressure pulsations are happening at 30 Hz. Any suggestions.
Ch = CWArray1.IndexArray(DataEngUnitsByCh, Array(i, Null))
CWDSP1.AutoPowerSpectrum Ch, 1 / CBRate(brd), Spectrum, df
CWGraph(brd).Plots(i + 1).PlotY Ch, 0, 1 / CBRate(brd)
CWGraphFFT(brd).Plots(i + 1).PlotY Spectrum, 0, df
Thank You