LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Max array size NI-RIO-7831R

Hi,

we are in a need of having arrays of size bigger than 32 elements, is there a work around this issue on the FPGA? Also is there a way to have dynamic sizing of arrays, or tricks to do so? We need arrays that could range from 32 elements to 1024 elements.

thanks

Jose
0 Kudos
Message 1 of 3
(2,720 Views)
Hi Jose,

The ability for the FPGA to store arrays is a feature to be used very carefully, with the drawback being that it takes up significant FPGA space to do so. In an application such as what you described, there are other recommended methods of implementation that could better suit your needs. I would suggest using the User Memory space (80 kB on the 1M Gate FPGA, 192 kB on the 3M Gate FPGA). This will allow different access methods with array-like functionality, such as Memory Reads/Writes and FIFOs, in order to better accomodate your range of elements that varies between 32 and 1024 elements. Generally speaking, the largest sized array I've heard you can have on a 1M gate FPGA is 50 (32-bit integers), although I haven't specifically tried to compile that.

I great resources to learn more about FIFO's is the tutorial "Developing High Speed Continuous Buffered Data Acquisition Applications with CompactRIO":
http://zone.ni.com/devzone/conceptd.nsf/webmain/8E999A74E43AC76186256F5E0068CFAC

Regards,

Jeff M.

Applications Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,700 Views)
Hi Jeff,

thanks for the help. I ended using the 8Kx16bit memory for creating my array. I cannot use the FIFOS since I need to access the data of the array at several locations and not in the way the fifo does it. Using the memory is much better since I can create very large arrays and have the hability to manipulate the data as I want.

thanks again.

Jose
0 Kudos
Message 3 of 3
(2,692 Views)