Recognition Task with pictures - error on Mac

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

OS (Venutra 13.2.1):
PsychoPy version (e.g. v2022.2.5):
**Standard Standalone? (y/)

Error that occurs
File “/Users/max/Documents/01_Psychologie_BA/5_Semester/04_Bachelor/Programmierung/untitled_lastrun.py”, line 113, in
image=image_file, mask=None, anchor=‘center’,
NameError: name ‘image_file’ is not defined

What my builder looks like

what my loop looks like

I’m a bit stuck and would really appreciate any help or advice you can offer. I’m working on a recognition task where participants are shown a set of items beforehand, not during the actual experiment. My goal is to track their response time, key response and ask them to rate how confident they feel after each trial, for each image. If you have any tips or suggestions to help me out, I’d be really grateful!

what my picture item in the loop looks like

what my excel looks like

Hello,
Change the path with the $image_file variable from constant to set every repeat.

Thank you very much! It worked.

1 Like