Button Not Ending Routine on Pavlovia

PsychoPy version: v2024.2.4
Do you want it to also run online?: Yes!
What are you trying to achieve?: Smooth slider transitions

What did you try to make it work? And what went wrong?: I put static timed at 0.1 seconds between back-to-back sliders and between mic and slider routines to avoid lag when it was tested locally on psychopy and it worked. However, when pushed to pavlovia, the slider routines have a next button and every time I push the next button, it does not end the routine and instead, a black screen pops up lasting the rest of the time of the routine. However, if I let the time run out, it transitions smoothly onto the next. The button has to be there but I am unsure how to fix this issue.

If anyone has an idea of how to make this work, please let me know!


Hello

Is it imperative that the button is present for five seconds? What happens when you will the stop duration empty?

Notice that the button component is still in beta, at least in 2025.1.0.

Best wishes Jens

1 Like

Why is the button starting at 5 seconds? Is that the minimum duration for your routine?

1 Like

The routine lasts 10 seconds and the button is to pop up after 5 seconds so I just put the duration for 5 seconds to match the routine time; and it is the min duration of the routine

I also noticed that the button does not force end the routine only when there are back-to-back sliders

Try adding an ISI routine in-between to allow the mouse to be unclicked from the slider

1 Like

there is a 0.1s ISI inbetween the sliders and the issue still remains

I think I have the solution. Remove the button duration, add 10s as the duration in Routine Settings and ensure that non slip timing isn’t ticked. The issue is that your routines are green which means fixed duration and that is overriding your call from the button to end early

1 Like

Thank you SO much!!! This fixed the issue!