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 waveform scaling

Solved!
Go to solution
So this has been asked a few times.
0 Kudos
Message 1 of 7
(2,746 Views)
So you have an answer? If not, what is the question?
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 7
(2,734 Views)
It wouldnt let me edit my post from my computer and deleted half of it which was my question lol. Sorry for that confusion. Shouldn't my fft plot have the spike at 10 not 1000 or do I need to put on a scaling factor of .01 on the x axis? If so, why? I thought calculating df should take care of this.
0 Kudos
Message 3 of 7
(2,730 Views)
Solution
Accepted by topic author GregFreeman

You do have a peak at 10, and also at 990 which corresponds to -10 Hz.  You can turn on the FFT shift to get the DC-centered graph.

 

SimpleFFT.png

Message 4 of 7
(2,723 Views)

@Darin.K wrote:

You do have a peak at 10, and also at 990 which corresponds to -10 Hz.  You can turn on the FFT shift to get the DC-centered graph.

 

SimpleFFT.png


 

Well, that sure does make sense. I should have zoomed in...I thought it was at 0 and 1000. Thanks for the clarification.

0 Kudos
Message 5 of 7
(2,714 Views)

hi,I have got a trouble,I do not know what is mean to -500;please help me.

0 Kudos
Message 6 of 7
(2,472 Views)

The -500 shifts the start point of the waveform. This is required because the shift parameter of the FFT function is set to true.

 

The following link explains the FFT function in detail:

http://zone.ni.com/reference/en-XX/help/371361K-01/lvanls/fft/

--------------------------------------
0 Kudos
Message 7 of 7
(2,433 Views)