Images don't appear with keyboard component

URL of experiment: SF_OD [PsychoPy]

Description of the problem: I am trying to have people do a categorization task. The trial should start with a fixation cross for 500 milliseconds and then an image for 100 milliseconds. The participant then has an unlimited amount of time to answer. I built a very basic version of my experiment in builder v.2024.2.3.

After the first loop, the fixation cross and the image stop appearing. The trials still seem to continue on as I am able to advance with the space bar.

Edit: If I disable the keyboard component the images appear normally (hence the title).

It runs well locally so it seems to be an issue with js or something else. I have run a bunch of experiments online but can’t see to figure out what the issue is here.

Are you sure you set it so that the space bar is set to “force end of routine”? I don’t think the trials are continuing at all because the fixation cross does not appear for me regardless of what I press after the first trial.

Issac

1 Like

Thanks for the reply! Based on your comments, I was able to pinpoint that the issue not actually about the keyboard component. Anything with a indefinite duration is preventing the quick presentation items (the fixation cross and the image) to appear. I have created a new post that more aptly titled: new post

To answer your question @stanley1O1. The force end of routine button was set up correctly.

Neither the fixation cross or the image were appearing after the first loop. The reason why I was pretty sure that the loops were advancing was because I had 16 loops and if I pressed the space bar 16 times the experiment ended. I have since modified the experiment to better capture the issue.

I originally thought this issue was about the keyboard component. But it actually seems to be about how long things are on the screen. I created two more loops: one with just the quick presented sitmuli where each loop terminates after 900 ms, a second with the keyboard loop I had yesterday, and a third one where the keyboard is replaced with a label. The issue seems to be about indefinite duration since the latter two don’t show a fixation cross or an image.