01-19-2014 10:10 AM
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.
01-19-2014 10:30 AM
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.
01-19-2014 03:36 PM
Craig,
Thank you for your quick answer! It's working now after I changed timeout to 0.
Thanks!!
Marko.