09-03-2024 06:55 AM
hello,
im trying to make a real time FFT visualisation inside a loop of a double variable that change each iteration of this loop.
i tried using an array and doing a fourrier 1D interpolation evry 100 iteration. But i can't seems to be able to make it work
if someone know how i could do it, i would be thankfull :).
09-03-2024 07:51 AM
Attaching the actual code would help than explaining a graphical code in words. Please save it in LV 2020 or older version.
09-03-2024 07:53 AM
Hi purpleskies,
There's a built-in FFT VI on the Signal Processing - Transforms palette. It's polymorphic and can be used for real and complex 1D or 2D data. If your loop is only generating a single data point at a time, there's also a point-by-point version.
PsyenceFact
09-03-2024 08:02 AM - edited 09-03-2024 08:05 AM
what is the name of this point by point fft ?
i put what i've done so far bellow
09-03-2024 09:36 AM
@purpleskies wrote:
what is the name of this point by point fft ?
It's FFT PtByPt.vi and it can be found on the Signal Processing - Point By Point - Transforms palette.
You may find that the spectrum calculation functions on the Spectral palette provide you with data in a better format for visualisation.
PsyenceFact
09-03-2024 11:34 AM - edited 09-03-2024 11:35 AM
Why not use the PtByPt FFT? (EDIT: Not sure how that crossed 4 messages...)
But for real nice visualization, use (PtByPt) STFT. It's better suited for continuous signals.