From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT(mag phase) and sample count

I am using the FFT(mag and Phase) VI in version 6.1.  When the sample count sent to the fft vi is increased the magnitudes decrease.  What is causing this?  Does the VI divide by the sample count?

In advance, thank you!
0 Kudos
Message 1 of 4
(2,613 Views)

The resolution of FFT depends on the sampling rate as well as the number of samples used to compute FFT (Fs/N). When you reduce the number of samples, the resolution of FFT comes down. This means that the peak that you detected prevously might have gone undetected.

Kallis

BR
0 Kudos
Message 2 of 4
(2,608 Views)
Yes,  I have kept the sampling frequency the same and the amplitude of the noise has increased by ~ 5x.  So, if there are noise spikes at a low sample count they will not be "averaged out" by the fft?
0 Kudos
Message 3 of 4
(2,598 Views)
What do you mean by 'amplitude of noise'? Can you post an image of the two cases that you are referring to. Did you enable averaging in the FFT vi?
BR
0 Kudos
Message 4 of 4
(2,580 Views)