Hi Norbert
Maybe I was wrong on my denomination. I was talking about filtering, when I should talk about windowing.
My acquisition doesn't contain an integer number of period, that mean non coherent mode.
I would like to sample to do it but I cannot in all cases.
My peak rms value vary because I do no quadratic summation. Ie: I should take in account energy in bins around
my fundamental.
Is it wrong ? Adding a windowing can allow to be more selective on my spectrum, but I know I'll have to quatratic sommate
some bins around my fundamental to get a correct Rms value.... depending lot of thing (Window, number of point....).
The NiScope allow to add a window after sampling and to FFT after the windowing. But it cannot compensate the window attenuation
on the Rms values.
How can I make it ??
Just adding some multiplicative factor ??
I took those lines from the "Peakest.prj" sample
ScaledWindow (SignalArray, NB_PTS, Win, &WinConst);
AutoPowerSpectrum (SignalArray, NB_PTS, 1/FREQ, Auto_Spec, &df);
SpectrumUnitConversion (Auto_Spec, NB_PTS/2, 0, Scaling, Display, df, WinConst, Converted_Spec, Unit);
Here The signal is windowed by the win type window. The corrective factor is stocked in the WinConst.
Then converting the power spectrum in Rms, the corrective factor is applied.
I'm lookin for a way to do it using an NiScope function.
Thanks David