LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is physical meaning of Auto indexing array input ...

Solved!
Go to solution

What is the physical interpretation of auto indexing.?

0 Kudos
Message 1 of 4
(1,439 Views)
Solution
Accepted by topic author light man

When you wire an array to the edge of a For Loop, it will sequentially index the array for you as it iterates through loops. A While Loop will also do this, but it is much more common on For Loops, hence, For Loops do it automatically whereas While Loops have to be "right clicked" and told to index the array. Get it?

Richard






0 Kudos
Message 2 of 4
(1,433 Views)

It is like a Pez Dispenser. Every time the loop iterates the neck pops back and you get the next piece of candy. The loop keeps going popping out yummy candy (I don't like the peppermint but I do like orange) until the dispenser is empty. If you have more than one Pez Dispenser then their heads are all tied together so that they pop back simultaniously and cannot do so independently. This has the unfortunate consequence that once one of them runs out you are done even though there are still other Pez Dispensers full of strawberry or grape. Even worse, if one of them is empty then none of their heads can pop back and you get no candy whatsoever!

 

[Edit: I am trying to be funny and not sarcastic. I hope you don't take it wrong Smiley Happy]

=====================
LabVIEW 2012


Message 3 of 4
(1,426 Views)

So far you heard some physical analogues, but to answer the question: There is nothing "physical" about autoindexing, it is all virtual and conceptual. 🙂


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
0 Kudos
Message 4 of 4
(1,409 Views)