LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2d array size on CVS

we have 3 big 2d array(2000 X 1600) in the LV code for DLL image processing,
it works on PC , but when loaded on CVS 1455, and debug, we found it stopped
at the second array initialization.

my question is , is there a limitation on 2d array size on CVS ?
0 Kudos
Message 1 of 3
(2,674 Views)
Richard,

You have 128 MB of RAM on your 1455. I was running a few numbers... If you had one array of 2000x1600, that would be 3.2 M locations in your array. Let's say each element of the array was one 8-bit value (grayscale). That's puts your storage up to 25.6 MB per array. If you have more bits in your image representation, that would be even more storage. Finally, multiply that by your number of arrays and you've found the likely reason that you're going over that 128 MB limit.

Hope that is helpful to you in getting things sorted out. Best of luck...

Jim Laudie
Applications Engineer, National Instruments
0 Kudos
Message 2 of 3
(2,674 Views)
for 2000X1600 image, it occupies 3.2MB, it is in byte, not bit, so the
total mem for RGB taken is 9.6MB , is this right ?

"Jim Laudie" wrote in message
news:506500000005000000D5A50100-1079395200000@exchange.ni.com...
> Richard,
>
> You have 128 MB of RAM on your 1455. I was running a few numbers...
> If you had one array of 2000x1600, that would be 3.2 M locations in
> your array. Let's say each element of the array was one 8-bit value
> (grayscale). That's puts your storage up to 25.6 MB per array. If
> you have more bits in your image representation, that would be even
> more storage. Finally, multiply that by your number of arrays and
> you've found the likely reason that you're going over that 128 MB
> limit.
>
> Hope that is hel
pful to you in getting things sorted out. Best of
> luck...
>
> Jim Laudie
> Applications Engineer, National Instruments
0 Kudos
Message 3 of 3
(2,674 Views)