Text components not appearing for the correct duration

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2023.2.2
Standard Standalone? (y/n) y

What are you trying to achieve?:
We have an experiment that displays over 3000 words quickly in succession. Each one should appear for 1/6th of a second. The refresh rate of my monitor is set to 60Hz. I’ve tried putting 1/6 seconds or 10 frames into the duration box for the text component but I get very variable durations for the stimuli in the data file. Most stimuli appear for the correct amount of time but some (about 5-15%) appear for longer (often about 50% longer but sometimes for over a second).

The words are selected from spreadsheets that contain the word lists. There are code blocks which are used to create the order in which the words should be selected, and to set the colour of a small polygon component, which also appears on the screen.

What did you try to make it work?:
I tried using frames rather than seconds in the duration field. I’ve tried a few different computers. I’ve taken out everything unnecessary from my experiment to try and keep it as simple as possible.

A previous version of the experiment hard coded the word lists rather than getting them from a spreadsheet. This version also suffered from variable durations.

What specifically went wrong when you tried that?:
The durations still vary, rather than all being 1/6th of a second.

Do you have any advice for how to get the durations to be more consistent, please?

1 Like

Hi. While it is hard to know your problem from the limited information. From what you’ve described, it seems like the variable durations may be due to the refresh rate of your monitor. Have you tried adjusting the refresh rate to see if that helps to stabilize the durations? see PsychoPy - general timing issues

You also mentioned that a previous experiment version also suffered from variable durations when the word lists were hard coded. This suggests that the issue may not be related to the spreadsheet but something else in the experiment design. Have you checked PsychoPy Page - General Timing Issues ? There are a lot of solutions for your issue, especially one that has happened before.

If you need any specific help from this forum, it is also good to provide screenshots of your builder and any relevant code.

I hope this was helpful. :slight_smile:

Thank you so much for your help.

1 Like