LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A Question about Arrays

Hello again.

I was wondering are arrays dynamic. By this I mean if you fill your
array with 100 points and the next time you have 101 point does
Labview automatically accomodate you. And if It does then can you
ever shrink the array size, just in case you are low in memory?

Just a question.

Regards,

Steve Drake
0 Kudos
Message 1 of 2
(2,588 Views)
> I was wondering are arrays dynamic. By this I mean if you fill your
> array with 100 points and the next time you have 101 point does
> Labview automatically accomodate you. And if It does then can you
> ever shrink the array size, just in case you are low in memory?
>

Arrays are dynamic. They grow, and shrink to fit the data they need
to hold; so shrinking them involves writing less data to them, like
an empty array. Strings are also dynamic.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,588 Views)