URL of experiment: Pavlovia
Description of the problem:
I have defined the variable ‘myTrialDuration’ in a conditions file in an outer loop. I want to use this variable to set the duration of a condition in a routine which is in an inner loop. I haven’t used a $ symbol in the duration box of the condition. The experiment works perfectly in PsychoPy (v2020.2.10) but when I upload it to Pavlovia it doesn’t seem to work at all. I don’t get an error message, but the ‘trial’ routine runs once but then doesn’t seem to follow the inner loop and repeat itself so just stays on a blank screen.
I have seen other experiments working with a variable defined in an outer loop but being used in a condition in a routine in an inner loop, so I know this is possible. I just can’t seem to figure it out.
Any help is much appreciated.
Thanks!