02-11-2023 11:07 AM
So i looked up the FFT example in the find example section of labview. I wanted to implement it practically on myRIO fpga.
When i made the code and run it in Simulation mode, it works absolutely fine. But when I change the execution mode to real fpga, the waveform graphs show random values.
What are the key factors i have to take into account when changing the execution mode from simulation to real fpga?
i am attaching the pics of both the graphs (upper graph is of my output waveform and lower graph shows fft)
02-11-2023 11:30 AM
Please attach your code. We greatly prefer code that we can open with LabVIEW (which allows us to look "under the covers"), but a Snippet of code can also work. Without know what you are doing, it is only guesswork to tell you "how to improve it".
Bob Schor
02-11-2023 11:35 AM
this is my VIs.
One VI is for fpga VI implementation.
the other vi is for Host vi implementation
the third is only a sub vi i made to combine the configuration of fpga part
02-11-2023 12:04 PM
Thank you for your quick response. As per my suspicion, you are working in a LabVIEW Real-Time Project environment. To really understand and provide the best help, can you please take the following steps:
I've not done any SCTL coding with the myRIO FPGA yet (our sampling involves 16-channel A/D, but at aggregate speeds on the order of a few kHz) -- it might provide a "learning experience" for me ...
Bob Schor
02-11-2023 12:17 PM
here is my lvproj.
so it has 2 vis in both Windows target and 2 in Fpga target.
the one named stcl are the one i made for execution in simulation mode
the one name orignal impl is the one i editted for fpga real execution.
02-14-2023 07:01 AM
Hi Bob,
Thank you for replying but i have been able to successfully implement FFT in fpga real time execution mode.
02-15-2023 02:21 PM
Congratulations on getting your FFT working in the myRIO FPGA.
There are probably other LabVIEW Users (and students) who may want to learn from your example. Please create a Project that demonstrates the working program and include all of the Project files in an Attachment -- it is a nice way to say "Thank you" to the Community.
Bob Schor
06-26-2024 05:40 AM
can you pls attach the file ? I have some troubles with plotting the PSD in fpga with myrio. and it is on,y possible with fft not signal analysis function.