Of course it seems you want to run the loop once for each row in the 2D array, so many times autoindexing is the better solution!
You are using an "index array" inside the loop. If you are planning to wire the index to the iteration [i] terminal (who knows? :)), you might as well use autoindexing. This way you don't need to wire N (the loop will know how many rows there are) and you don't need to use index array inside the loop.
The image shows two functionally equivalent code fragments. Autoindexing (bottom) is much simpler than explicit indexing (top). See if autoindexing can work in your case.
Since you are a LabVIEW beginner, you should try to stay way from stacked sequences and local variables. They are rarely needed and can ofter cause problems such as race conditions and unreadable code.
Message Edited by altenbach on
03-31-2008 04:17 PM