11-20-2019 08:47 AM
Hi All,
I'm trying to send data from a host VI to a FPGA VI. I know this can be done trough front panel controls, but I ran out of terminals.
So I decided to group items into array controls but now the code won't compile. I started reading about FPGA's and arrays and found out, this is not the way to go. I think I need to use a FIFO to transfer the data to the FPGA (correct me if I'm wrong). So I started this way, but can't get it to work.
On the FPGA I have a VI to toggle 20 FPGA outputs (PWM) but I want to set the frequency in the Host VI. How can I get the frequency's out of this FIFO and wire each frequency to its corresponding output? How is this done?
Any suggestions?
Thanks!
Solved! Go to Solution.
11-20-2019 10:10 AM
Here is a good example on DMA-FIFOs: https://forums.ni.com/t5/Example-Programs/Use-DMA-FIFOs-to-send-data-to-and-from-an-FPGA-target/ta-p...
Setting 20 frequency values from Host to FPGA via controls should be doable.
11-26-2019 02:49 AM
Thanks for the example. It's working now.