LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Help on FFT or ReFFT

when we use FFT or ReFFT in Labwindows/CVI, we always get a frequence of integer.
 
For example, acuqire a wave of 10Hz with 10kHz sampling, analysed by ReFFT, we get the frequence is 10, that is correct.
 
But if the frequence is 9.2Hz what can I do to get the frequence[9.2] correcttly?
 
thank you.

帖子被superman2008在03-04-2007 09:49 PM时编辑过了

0 Kudos
Message 1 of 4
(3,847 Views)
why none help me?
 
where are engineers?
0 Kudos
Message 2 of 4
(3,824 Views)
FFT is not necessarily the best way to accurately estimate the frequency of a signal (and it seems that that is what you are trying to do). Time domain methods, such as auto correlation or zero-crossing detection, are generally better.

If you insist on using an FFT method for this, you must be prepared to use some sort of interpolating estimator on the output of the FFT to identify the likely position of a signal peak 'between' the output frequency bins.

There are plenty of tutorials on the web that identify the uses and limitations of FFT. NI have an interactive tutorial here.

--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 4
(3,813 Views)

thank you!

0 Kudos
Message 4 of 4
(3,799 Views)