Is it possible to create array of arrays 
Author Message
 Is it possible to create array of arrays

I want to manipulate in my application a kind of "list of arrays", or
an array of arrays . The number of array is dynamic. Is it posible
with labview?


Mon, 07 Feb 2005 16:33:23 GMT  
 Is it possible to create array of arrays
Hi dpm,

Array of arrays is just array with dimension of intetnal array +
dimension of external array. It means that if you want create 2-d
array of 1-dim arrays just create 3-d array, where each cell is 1-dim
array. In same way if you want create 3-d array of 2-d arrays create
5-d array where each cell is 2-d array.

Hope that you understand me. Good luck,



Mon, 07 Feb 2005 17:04:21 GMT  
 Is it possible to create array of arrays
Yes
You have to put an array into a cluster to build an array of arrays.
In fact you will have an array of clusters (with a pointer inside)
that points to an array.
It is a pity the LabVIEW compiler does not handle the extra bundle and
unbundle actions but you could use a functional global (LV2 global) to
handle the access to the array of arrays. In this way your program
stays readable


Mon, 07 Feb 2005 17:06:10 GMT  
 Is it possible to create array of arrays
You can make an array of a cluster of an array.  But be warned that when
making complex datatypes like this you increase memory usage greatly.  If it
gets too slow then try to figure out how to do it with a 3d array instead.


Mon, 07 Feb 2005 22:02:22 GMT  
 Is it possible to create array of arrays
I've asked this one myself...<a
href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135...">Ragged
edge arrays</a>.  If the link doesn't work, just search under "Ragged
edge arrays in LabVIEW?".


Tue, 08 Feb 2005 00:17:02 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. create an array of 2D array

2. creating a new 2D array with two 2D arrays

3. Problem with with Array of U8 to Array of Array of Boolean

4. convert 2d array to 1d array without using shift registers and build array

5. Arrays: Build array in multiple for loops or replace array elements

6. Multidimensional array vs. array of array

7. Question about array ops on arrays of types of arrays of ...(ack)

8. adjustable-array-p, adjust-array and array-destruction

9. tBrowsing Arrays (I am rusty!)

10. I am having array problems in MS FORTRAN ver 3.31

11. Adding shell arrays (is it possible?)

12. Possible array bug?

 

 
Powered by phpBB® Forum Software