LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Transferring data from RT host to FPGA target (Using DMA)

Hi, 

 

I want to transfer an array from RT Host to FPGA target. I've found an example which works fine. Screenshots of the VIs are attached. (If VIs are needed, I can share them.)

 

This RT host VI works for a finite array. I want to be able to update that array in any time I need. I couldn't find a way to do that. Could you please show me a way to update the array whenever I want? I tried a Case structure with a Latch control in a loop but a lot of data were lost. 

 

Regards,

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

Hello,

 

It is not clear to me where (FPGA or RT side) would you like to work with the array. If you are planning to work on the Real-time side simply use the array functions and check the basic examples (arrays.llb).

 

On the other hand, if you plan to work with arrays on the FPGA side I recommend caution. Regular restrictions are to never auto grow arrays or work with large amount of data, you will get compilation errors and would spend a lot of space and slides respectively.

 

I strongly recommend checking the following links:

 

1. Tutorial: Arrays and Clusters

2. Replace Array Subset Function - LabVIEW 2012 Help

3. Using Fixed-Size Arrays in FPGA VIs (FPGA Module) - LabVIEW 2012 FPGA Module Help

4. Why Shouldn't I Use Large Arrays When Developing FPGA Applications?

 

Regards,

Alejandro C. | National Instruments
0 Kudos
Message 2 of 2
(2,350 Views)