LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Omar_II

Smart Auto Index Tunnel for While and For Loops

"To Index or Not To Index"  

For While Loops and For Loops, the Auto index tunnel should be turned on or off based what the end of the wire is connected to.

 

For array wires coming into a For or While loops if I connect it to a scalar input then Auto Indexing is ON. If I connect it to an array input then Auto Indexing is OFF.

 

For scalar wires going out of a For or While loop if I connect it to scalar input then Auto Indexing is OFF. If I connect it to an array input then Auto Indexing is ON.  

 

 

ForLoopIndex.png

 

Wires going into polymorphic input will default to normal mode, Index for For Loops and not indexed for While loops.

Omar
2 Comments
RavensFan
Knight of NI
I like this idea.  I liked it even more when Altenbach first proposed it in this idea message. Smart autocorrecting autoindexing.
JordanG
NI Employee (retired)