Hi everyone,
I’m trying to create a feedback to the participant’s response which is made up of an image. It is a task for children so:
when the participant answers correctly, I would like to appear a happy image
when the participant answers incorrectly, I would like to appear a sad image
when the participant does not respond I would like to appear a surprised image.
I tried to insert these feedback in my experiment by creating a loop and inserting the names of the images in the excel, then I created a code that would recall the image according to the type of response but it doesn’t work.
you need to provide more information. For instance, the code that you used for checking for the response type. Also, you need to be more explicit in telling us what did not work. Where there no feedback pictures? Did the experiment not run? How do you register the response?
-> In before experiment
feedback = “type_of_image”
-> In end routine
if ssig and not SST_resp.corr:
feedback = “surprise.png”
elif not ssig and not SST_resp.corr:
feedback = “sad.png”
else:
feedback = “happy.png”
Legend:
ssig: stimulus of interest
SSt_resp.corr: correct answer
surprise.png or happy.png: the name of image in my excel
type_of_image: the name of raw in my excel.