LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying labview auto-indexed for loops in real time

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.

0 Kudos
Message 1 of 3
(2,820 Views)
No.
0 Kudos
Message 2 of 3
(2,810 Views)

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.

 

0 Kudos
Message 3 of 3
(2,799 Views)