10-20-2009 06:35 PM
Hi.
I am maintaining some legacy software. It has many for loops with auto-indexing. The need has arisen for being able to "rewind" the loops conditionally, including the index of the arrays being auto-indexed. Trying to change all of these auto-indexed arrays to simply indexed arrays and using shift registers to keep track of the desired index would be a prohibitive amount of work. Is there anyway to hack the index register to be able to change it in real time?
Thank you.
10-20-2009 07:17 PM
10-20-2009 10:28 PM
Not sure what you're looking for exactly, but two questions: 1) Can you provide example screencaps or VIs of what you're looking for and what the use case for it is? 2) Have you verified that your needs cannot be met by using the conditional terminal in the for loop? You won't be "rewind"ing, but stopping the for loop at a specified condition.
There are probably several ways to do what you want without a huge amount of effort, but we'll need more details to help you find the best way to do it.