From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

rt

Daniele

Hi everybody

 

I am new in using FIFO DMA and I am having some problems in getting started.

I am using a compactRIO 9073 with a NI9234 Analog Input module.

I have used the FPGA Wizard tool to configure the data acquisition.

Attached you can find the FPGA VI, the Host VI and the FPGA configuration file.

 

The problem is that I can't get to acquire any data, because the VI stops since the FIFO is always in Underflow Condition.

 

Do you know how to fix the problem?

 

Thanks

 

0 Kudos
Message 1 of 4
(5,621 Views)

HI Daniele,

 

why not use Scan Engine with 9234? Do you need DMA for some particular reason?

 

Have a nice day,

______________________
Simone S.
Academic Field Engineer - Med Region
0 Kudos
Message 2 of 4
(5,608 Views)

Hi Simone

 

As far as I understood, the DMA optimizes the performance by minimizing the Real Time processor use for the data sampling process.

In my application, the data I sample should then be eleborated to calculate the Power Spectra and to extract several information from it. If the processore is busy for data

sampling this kind of operations may be critical.

Consider I don't know yet which kind of information I need, but basically it's all about Spectra interpretation.

 

That's the reason why I thought DMA FIFO could be a good choise.

 

Regards

 

Daniele

0 Kudos
Message 3 of 4
(5,603 Views)

Hello Daniele,

 

try to use this example.

 

Hope this help,

______________________
Simone S.
Academic Field Engineer - Med Region
0 Kudos
Message 4 of 4
(5,585 Views)