Seeing the latest discussion on controlling For Loops (and those others referenced) has helped me define what I would like to see, so I present this as an alternative idea for consideration.
My thoughts reduce down to two requirements:
Having said that, I don't particularly like the configurations (such as "Start, Stop, Step, N", or "N-1-i") suggested so far which add further clutter to an increasingly complex structure (N, P, i, conditional terminal, shift registers). So here's my suggestion:
So the output of this example would give the array [-20, -10, 0, 10, 20]:
I think this arrangement gives some benefits over previously suggested ideas. The complexity of manipulating the iterator is embedded in a subVI which can have an icon to show its function (not hidden in a property menu). All of the control is on the left side of the loop, and there is still only a single iteration terminal with the symbol "i".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 4 kudos within 4 years after posting will be automatically declined.