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: 

Windowing function in LV before FFT

Hello

I am having some trouble with respect to windowing in LV2013. the shape of the windowed time domain waveform looks wrong.

 

Here is the window function - C:\Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\Analysis\4window.llb\Hamming Window (DBL).vi

 

I am trying to extract the tone amplitude from the frequency domain and the value is wrong when windowing is enabled.

But it is correct when windowing is disabled.

 

appreciate any help that is offered. thanks

0 Kudos
Message 1 of 3
(2,983 Views)

Sorry never mind, I did not have right scaling on X and Y axis.

the problem still remains - the tone amplitude from frequency domain does not match the unwindowed waveform. But all works out ok in matlab sim.

0 Kudos
Message 2 of 3
(2,974 Views)

The GNSSSignalMag.vi is missing. Is it part of some toolkit?

 

I replaced the Express Simulation VI with Sine Waveform.vi from the Signal Conditioning palette so that I can control things like Fs. When I do that and look at the maximum value in the adjusted spectrum, it remains the same whether windowed or not. 

 

Extract Single Tone Information.vi uses FFT techniques for measuring tone information. You can open its block diagram to see how NI did things.

 

It has been a while since I used MATLAB but I think they use a different scaling method for FFT.

 

Lynn

0 Kudos
Message 3 of 3
(2,953 Views)