06-10-2013 04:24 PM
I’m having a problem setting up a DMA FIFO in my FPGA VI. I’ve created the FIFO in the project, and set it up for Target to host. When I compile my FPGA VI, I get an error stating that “Too many DMA control lines have been requested or some requests are conflicting.” What could this problem be? This is the only DMA FIFO I have in my project. The FPGA properties confirm that I have 3 available on the 9111. Could some requests be conflicting? Why would they be?
Here is my hardware: cRIO w/ 9014 RTC & 9111 FPGA, NI 9862 XNET module, NI 9219 modules.
I’ve tried a number of things including deleting and recreating the FIFO, trying different data types, configurations etc. The only way I can get the FPGA VI to compile is to remove all instances of the DMA FIFO. I’ve taken a shot in the dark on the RT side and made some of the same changes, but all without success (as I expected).
My application is pretty slow, so I could use FP variables if need to, but want to understand what the root of the issue is with DMA. This is the first one of a DAQ project platform that could easily have needs for higher sampling rates and loss intolerance data requirements. Any ideas are appreciated…
06-10-2013 05:39 PM
Is this the only VI in your FPGA? Is this VI being used multiple times? Is there code hidden behind your sequence structure? I'm just throwing out the stupid things first.
06-11-2013 07:41 AM
Yes, this in the only VI in the FPGA. No, it is not being used multiple times, nor is there any code behind the sequence. I was able to get an even simpler VI to start compiling just moments ago (see attached). The new Dummy FPGA_Main.vi is reentrant (only because that is what it defaulted to when I created it I guess), while the old one posted in the picture previously was non-reentrant.
I could theoretically see how a reentrant VI could possibly clone while in use and require a second (or third...) DMA FIFO, and result in a failure to compile. I'm not really sure why a non-reentrant VI would not compile.
I also removed the NI 9862 module from the project.
06-11-2013 09:42 AM
Hello,
Have you read this KB article linked below?
Using NI-XNET Module in CompactRIO with DMA FIFO Results in Code Generation Errors
Regards