Hello. I am building an auditory 3-alternative forced choice test. I want to repeat each trial. After the first iteration of the trial, I have a routine that says “You will now hear the trial again.” This is all incased within a loop. However, at the end of the second repeat when a new trial is supposed to occur, my routine indicating that “you will hear the trail again” will still appear.
I think that the easiest solution is to access the loop that denotes repeats (in this case there are two repeats and I have set
nReps = 2 for this. I would like to have the following code somewhere at the end of my stimulus routine before it moves on to me repeat message:
if currentLoop = 2: repeat_loop = 0
Essentially, if the trial has begun its second repeat, then it turns of the repeat message and will then move on to the next trial.