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: 

FFT in FPGA

Hi, 

 

the following is the snpshopt of the BD to do an FFT on an Analog input. A sinusoidal input is given to the NI-9215 via a signal generator. The FFT ouput observed does not match with the frequency of the signal generator. Should the code be changed??. Im using an cRIO 9022 with a NI-9114 target.

 

The transform length in the FFT block=512.

 

Rgds'

Message 1 of 4
(2,990 Views)

Reffered NI tutoral as attached with the FFT block configured to be used inside a single timed loop. the compilation failed on cRIO 9022 with the message that the no. of DSP48S exceeds the available.

Message 2 of 4
(2,920 Views)

The picture of the code you posted in your first message looks nothing like the code shown in the tutorial you posted in your second message.  Can you please attach the code you used, either attaching the VI itself, or a ZIP file containing the VI, or a Snippet (which, admittedly, looks like a .PNG file, but can be dragged into a Block Diagram to magically become LabVIEW code).  This will allow us to "experiment" with what you've done, and possibly try out fixes (or watch your code execute and see where it goes astray).

 

Bob Schor

0 Kudos
Message 3 of 4
(2,890 Views)

VI of Host and Target attached. 🙂

Download All
0 Kudos
Message 4 of 4
(2,870 Views)