LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control and indicators not responding when using DMA FIFO in FPGA

Hello all!

 

I have a problem regarding front panel (i.e., controls and indicators) when using DMA FIFO in FPGA. I wrote a simple program for data acquisition of a DC/DC converter (for which I need sample times in microsecond domain, i.e., time period is set to be 10 us), but when using DMA FIFO my controls in front panel (for input current reference, switch and loop control) are not responding (I even tried with smaller FPGA period - 1000 us). When I disable data acquisition part (marked with red rectangle), control on front panel is working just fine. Any suggestions?

 

Marko.

0 Kudos
Message 1 of 3
(2,348 Views)

Are you reading the data out of the DMA FIFO?

 

Note that the timeout control of the DMA FIFO Write method is set to -1. This means that it will wait forever for there to be space for data.

 

You could move it to a parallel loop or change the timout.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 2 of 3
(2,337 Views)

Craig,

 

Thank you for your quick answer! It's working now after I changed timeout to 0.

 

Thanks!!

 

Marko.

0 Kudos
Message 3 of 3
(2,313 Views)