What I need to do is to be able to press boolean A 5 times, then press boolean B 3 times for example and then press boolean A again and it then start on the 6th iteration in the same while loop, (see the attached example). Currently when I press A a few times then switch to B, the iteration value of the shift register used for A goes to 0. I do not want this. The reason that I am doing this is that I want to read for example 2 lines from a spreadsheet file. As I read the first line, (by using boolean A), I go from one value to the next. Then I take a couple values from the second line, (using boolean B). Then I go back and read from line 1 but I don't want to have to read all the elements from the
beginning, but since the shift register keeps going to 0 I keep having to do this. I can't wire the index to the iteration of the while loop, (as far as I can see), because I the iteration value is devided between the two choices. Any ideas or examples would be much helpful.
Thanks very much,
~Caltech.