LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating array of an array

hi experts..
i have a problem.
I want to creat an array, array.
on button click this element array, will get attach to
main array
plz help me
0 Kudos
Message 1 of 6
(3,054 Views)
Hi Thandal,

Use the "Build array" function!
This function will "Concatenates multiple arrays or appends elements to an n-dimensional array".
0 Kudos
Message 2 of 6
(3,054 Views)
it doesn't work man ,
i already tried it.
if you have ex.then send me
0 Kudos
Message 3 of 6
(3,054 Views)
Hi Thandal,

I hope I did understand problem, but I attached a VI which appends an array to an array on a button click.
0 Kudos
Message 4 of 6
(3,054 Views)
Right click the Concatenate Array, and toggle the Concatenate Inputs option.

But be aware, each row and each colomn in a 2d array will have the same
size. So if you have one row with 10 elements, and you add a second row with
20 element, the first row will fill up with 10 zero's. If you don't want
this, you'll have to build an array of clusters with arrays in it.

Regards,

Wiebe.



"Thandal" wrote in message
news:50650000000500000062780100-1079395200000@exchange.ni.com...
> it doesn't work man ,
> i already tried it.
> if you have ex.then send me
0 Kudos
Message 5 of 6
(3,054 Views)
Hi Thandal,

I agree with Wiebe and BJK. I you really need array, array then create an array in which you can put a cluster in which you can put another array.

This kind of arrays are not really easy to use and I recommend you use n-dimensions arrays instead. It's up to you.
Arrays of clusters of arrays can be found in the XY Graph.vi because that's the way those graphs work for multiplotting.

Hope this helps !

Julien
julien.lamaire@etu.enseeiht.fr
0 Kudos
Message 6 of 6
(3,054 Views)