ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DMA Read Problem

Hi Everyone,

I got a small problem with DMA data transfer. I transfer data from FPGA to Host using DMA FIFO. The number of data that I expect from the FPGA to host should be say 4096 (for 4 channels of data being collected at every pixel (32 pixels_X and Y)).

I pass data to the DMA FPGA at every X pixel.

But when I save the data in the host end using Write to Measurment file, I relaized that there is a lot of data repetition for every single pixel. Therefore I get bulk of data that I dont need (See the attached file).  The first value  is pixel 1.

How can I deal with this problem? Any suggestions will be highly appreciated.

 

 

Best Regards,

Opuk

Download All
0 Kudos
Message 1 of 2
(3,106 Views)

It's difficult to say with just these little portions of the code. Are you sure you only call the DMA Write on the FPGA once per pixel?

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