LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrays dimension changed by "for loop"

When using a two(multi)-dimension array as input to a "for loop", the connection
changes inside the loop to a 1D array automatically. Why?!?

I want to perform the same procedure on each subarray of the basic two-dimension
array, by specifing an index. The second dimension I disable indexing. The
index itself can be the for loop index. The problem is the change in connection
between out and in of the for loop.
0 Kudos
Message 1 of 2
(2,387 Views)
The question is that you have indexing enabled in the for
loop entry, and the for loop will convert your 2D array in
the necessary number of 1D arrays to be completed in the
for loop. This is good when you don't know how long the
array is going to be, but if you don't like it, you can
right click on the input tunnel and disable indexing.
Hope this helps.


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
0 Kudos
Message 2 of 2
(2,387 Views)