LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT Spectrum

Hello Everyone,

I am using the FFT Spectrum (Mag-Phase).vi
But whatever avering parameters I use, I always get the same Magnitude Spectrum. I also wonder if I am using the VI in the correct way. I included an example.
Can anybody help me on this please?
0 Kudos
Message 1 of 2
(2,695 Views)
There are two problems in the way your are using the VI. First, the re-start averaging is set to "True" which mean you actually re-start your averaging every time. Next, to average correctly you need to place the VI in a loop (Typically a "For" loop if you are doing linear averaging or a "While" loop for exponential averaging). The VI automatically reset (restarts) it self the first time it is called. Then you can activate the restart boolean when you want to restart the avergaging. I have made a simple VI that shows how it work (see attachement).
Message 2 of 2
(2,695 Views)