Hi - I have a task where there is one trial of a scene and object, then there is an ‘active baseline’ period. In the active baseline, I have left and right facing arrows appear on the screen for 1s each in a randomized order. I can get the arrows routine to run for a set period of time by defining nReps$ in the properties popup for the loop. However, I would like this active baseline to continue running for a variable period of time that is jittered, and I would like to define the length of the jitter from a conditions file (if possible). For example, the first trial consists of one scene + object, then the active baseline for 6 seconds, then another scene + object and the active baseline for 12 seconds.
I have tried nesting loops and defining the length of routine in the larger loop by referring nReps$ to an xlsx file with variable timings listed. That resulted in the loop repeating for every time I had listed in the xlsx file, rather than running for the timing of one row, then exiting the loop.
Thanks for your help.