altenbach
2006-04-26 18:40:11 UTC
In contrary to what otheres have said, autoindexing is very efficient, because the LabVIEW knows the final array size from the beginning, it is nowhere near as inefficient as building an array inside a loop. Maybe you should arrange your data so the first loop would do the rows instead?
Autoindexing by colum would be much less than autoindexing by row, because to get a colum, LabVIEW needs to extract nonadjacent elements, while autoindexing by row just gets a contiguous subset of the data in memory.
Still, you should probably feed your 2D array via a shift register in each loop, then index out out and replace colums or rows as you go.
Can you attach a simple example of your code?
Autoindexing by colum would be much less than autoindexing by row, because to get a colum, LabVIEW needs to extract nonadjacent elements, while autoindexing by row just gets a contiguous subset of the data in memory.
Still, you should probably feed your 2D array via a shift register in each loop, then index out out and replace colums or rows as you go.
Can you attach a simple example of your code?