OS: macOS Tahoe 26.01. (Pro, M3 chip)
PsychoPy version: 2024.2.4 Python v 3.10.11
Standard Standalone Installation? yes
URL of experiment: https://run.pavlovia.org/avisha/goal_memory_v2
Do you want it to also run locally? no but it runs fine locally.
What are you trying to achieve?
I have two kinds of loops. Loop 1 (picture attached) has two routines — Order and Time.
-
Both routines present two image stimuli (same images in both) and some text below.
-
In the Order routine (picture attached), participants respond with a mouse click on one of the images (clickable stimuli).
-
In the Time routine (picture attached), participants respond using a slider.
I want both routines to be self-paced but also have a maximum duration of 15 seconds, so that trial advances if participant hasn’t made a response till then.
So, for all components (images, text, mouse, slider), I set the duration to 15 seconds.
-
For the mouse, I checked “End Routine on valid click.”
-
For the slider, I checked “Force end of Routine.”
The issue:
When I run the experiment, the moment I make a response (mouse, slider), all stimuli disappear (images, text, etc.), but the screen stays blank until the full 15 seconds are over.
After that, it finally advances to the next routine.
However, in another loop 2 (picture attached, with only one routine and within that routine, an image, text and keyboard response), everything works fine — the routine ends immediately on keypress, or automatically after 30 seconds if there’s no response. There also I have set all durations to 30 seconds including keyboard response.
So I am trying to understand why this blank-screen delay only happens in the loop with both routines (one using a mouse response, one using a slider).
What I tried to fix it?
If I remove the duration from the mouse and slider components, it works correctly — the routine ends as soon as a response is made.
But then, I’m worried that if a participant doesn’t respond, the routine will keep running indefinitely (and stimuli might disappear before 15s).
Is there a simpler fix for this (without using custom code)?
Or is there a recommended way to handle self-paced routines with a maximum time limit for mouse and slider responses?
Thanks in advance!





