Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Are DMA transfers from PXI-6608 to PXI-7831R possible?

I am trying to shed some of the workload off of my FPGA (running out of realestate) and I would like to know if the following is possible.  I need to measure the time between two rising edges for feedback in a control loop.  I have a PXI-6608 counter and a PXI-7831R FPGA.  Is there a way that I could use the counter to measure the time interval and report that interval to the FPGA at a rate of 20kHz?  I was thinking that a DMA transfer would be able to accomplish this but I'm not sure how to implement it in LabVIEW FPGA.
0 Kudos
Message 1 of 2
(4,195 Views)
Hi bwbarnes,
 
You can write to the DMA FIFO on the FPGA itself given you have LabVIEW FPGA 8.2 or above.  This is described here.  A general example on how to use DMAs is explained here.  Note that the second link is from FPGA to Host.
0 Kudos
Message 2 of 2
(3,854 Views)