Present fixation cross image on top of changing image component

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): 2023.2.2
Standard Standalone? (y/n) If not then what?: Y
What are you trying to achieve?:
I am trying to present a fixation cross image component over an image stimuli (image_face_dot_prac) that changes. The fixation cross needs to be presented on screen at all time whilst the images change.

When running the experiment without the fixation cross image component it runs through all 400 stimuli (drawn from a linked spreadsheet). When I add the fixation cross image it presents the first image stimuli with the fixation cross over the top (as it should) and then only presents the fixation cross thereafter.

There is a code component which randomly selects 1 of 400 images at a time to present. And a second component which presented images between 530-600ms. I am not sure if it these code components that are causing the issues.

What did you try to make it work?:
Having the correct order of components in the builder whereby the fixation cross is presented on top. Ran the code through chat gpt but all provided me the above to try.

What specifically went wrong when you tried that?:
The first image is presented with fixation on top as it should. The images then disappear and only the fixation image is presented thereafter. There is no error code the runner when doing this.

Experiment files:
expectation_blindness.psyexp (67.8 KB)

The issue is, as far as I can tell, that the image disappears because you have set it to do so after a certain period of time as defined by $jitter[0] in the image’s stop duration.
But for the fix cross you do not have an end time and therefore the routine continues with the fix cross forever.
Just set the fix cross’s stop duration the same as the image i.e. $jitter[0] and this should do the trick.



Thank you so much!

1 Like