08-08-2017 10:01 AM
Hello,
I am trying to understand how to use the FPGA FFT VI in conjunction with the FFT to Spectrum VI to calculate the Peak Amplitude of an incoming signal in real time.
So far my process is as follows:
FPGA VI
HOST VI
The idea is that the requested depth of the FIFO (samples to acquire) will serve as a "buffer" for the FFT results, and when the array of that loop is passed through the FFT to spectrum VI the Amplitude should represent the peak every 1 ms, essentially giving you real time results.
From what I understand the FFT block on the FPGA works point by point, so I don't know if the size of the FFT actually matters, or if the size of the FIFO matters, and I dont know why the Spectrum Analyzer isn't working.
Attached is the project.
Any help would be appreciated!
Best,
Conrad
08-09-2017 11:03 AM
I'd recommend checking out the Simple Spectrum Analyzer (sim).vi and FFT.lvproj shipping examples. The FFT.lvproj is specifically written for Real-Time and runs on Real-Time targets
08-10-2017 04:30 PM
Hi Steven,
Thanks for the response,
I actually used this example to make my own project, same basic format just not working and I am not sure why.
Best,
Conrad
08-11-2017 11:06 AM
Thats great you used the examples to create the project. Always a good move to build on top of known working code. Do the examples work? Do you know where your project does not work? We can use highlight execution to help out with this