LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect fft shape in labview

Solved!
Go to solution
0 Kudos
Message 1 of 6
(461 Views)

I am performing the FFT of a waveform measured by sr860 Lock-in Amplifier. But the FFT shape is wild. It appears to be incorrect. I have attached a screen shot of my Labview front panel and block diagram..Thank you for your assistance.

 

 

 

Screenshot (36).pngScreenshot (28).png

0 Kudos
Message 2 of 6
(458 Views)
Solution
Accepted by PGeter

You are taking the FFT of a single point during each iteration. You need to have an array of points. Two options, wait until you collect all the data then do the FFT, or do a point-by-point FFT. I don’t have access to LabVIEW now to see if there is a point by point FFT function.

Message 3 of 6
(426 Views)

Thanks your your reply...it could be helpful if you can give me a guide/example on  how to do the FFT at the end or point by point.. thanks

0 Kudos
Message 4 of 6
(413 Views)
Solution
Accepted by PGeter

Hi PGeter,

 


@PGeter wrote:

it could be helpful if you can give me a guide/example on  how to do the FFT at the end or point by point..


Use the FFT function from the Point-By-Point functions palette - instead of the FFT you use now…

 

You should understand the datatypes you use in your VI(s) and know which datatypes are useful for your  task(s):

  • a FFT from an array of a single element is mostly useless
  • a FFT from an array containing lots of samples is most often preferred…
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(410 Views)

Thanks GerdW!

it works

0 Kudos
Message 6 of 6
(372 Views)