Hi,
Arrays can only be "square". That means when the first row grows, all the
other rows are filled with zero's. You'll have to use an array of clusters
with arrays to make it work.
Regards,
Wiebe.
"stino" wrote in message
news:506500000008000000E6D90000-1079395200000@exchange.ni.com...
> Hi
> I'd like to have a 2D array with eg 4 rows, and each time the loop
> iterates, it should append new data at the end of a specified row (row
> 0 in example) while the data in the other rows remain unchanged.
> I tried all combinations of build array, replace array subset etc but
> for some reason I cannot get the rows to extend in length..
> I want the output array in the example to be like:
>
> 2 2 2 2 2 2 2 2 2
> x x x x x x x x x
> x x x x x x x x
x
> x x x x x x x x x
>
> Thus append the data array [2 2 2] 3 times to the first row, and leave
> the rest unchanged, but all I get is an empty array..
>
> I've been struggling with this for a few hours now, but I can't find
> it.. Although I think it's very simple!
> Or should I go for an entirely different technique like clusters or
> so?
> Can someone help me out?