Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Host-FPGA communication

Solved!
Go to solution

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!

 

0 Kudos
Message 1 of 3
(1,918 Views)
Solution
Accepted by topic author Nick1991

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.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 2 of 3
(1,893 Views)

Thanks for the example. It's working now.

0 Kudos
Message 3 of 3
(1,822 Views)