OS (e.g. Win10): Windows 7 enterprise
PsychoPy version (e.g. 1.84.x): 3.1.0
Standard Standalone? (y/n) If not then what?: Standalone
I am trying to make a Digit Span test that adapts to participants’ input. Basically it starts with 3 digits and after a correct answer is given, the participant moves on to 4 digits, then 5 digits, etc. If the participant gives an incorrect answer, they try again at the same digit span length. After 2 consecutive incorrect answers, they go down a digit span. (e.g., If I’m at 5 digits and I give a wrong answer two times, then I have to do the 4-digit span again).
To make this work, I created an excel file with each column being a sequence in the span, and a CorrAns column. In builder view, I created each digit span as its own routine, with a loop around it. If the participant gives a correct answer, the loop is finished and they can move to the next span.
The issue I’m having is trying to get it to go in the reverse order after 2 consecutive incorrect answers. I added an outer loop going from 4 digits to 3 digits, and it works fine. However, when I attempt to add another outer loop going from 5 digits to 4 digits, the builder does not let me. It seems to only allow an inner loop. When I try to run it with the inner loop, I get to the 4 digit span and then can no longer move either forward or backward.
Below are images showing what I have done so far. Any ideas about how to structure the loops, or if I have to restructure the entire experiment? Any tips will be greatly appreciated!!