Go/No-Go Multiple Images
Hi everybody, I am new to OpenSesame and I am trying to build an Go/No-Go task for my thesis with multiple images, I used the script from an online shared task from James Barlett, but it does not adequate for what I am trying to build. I have multiple Go images and multiple No-Go images, how can I programme that? Also need to have feedback when there is error, meaning that when the participant does not answer to a Go stimuli or when it answers to a No-Go stimuli it gives the feedback adequate for the error. Can anybody help me with that? Thank you in advance!!!
Comments
Hi @AdrianaMartins ,
First off, you don't have to open multiple discussions to get an answer. In fact, doing so will make searching the forum less clear for future visitors...
But welcome to the forum and thanks for your interest in OpenSesame. :)
Regarding giving participants feedback after every trial, something like the following should work:
block_loop. Give this variable the variable "x" (or another keypress, depending on your design) on go trials. On no-go trials, in contrast to the example you used, I think the correct_variable should be set to "None" (instead of "timeout"), like so:feedbackitems to yourtrial_sequence, one for the incorrect-feedback warning, and one for the correct-feedback (if you want that one too)Run-ifstatements to determine which of the twofeedbackitems should be run, depending on whether the variable "correct" has the value "0" or "1".I uploaded an example file.
Regarding the multiple images: What are these images? Are the PNG/ BMP files? Or something that you draw on screen yourself? In any case, you will probable have to define the images in the same way as Stimulus is now defined in the
block_loop, and use thesquare-bracket syntaxto use them in yourtrial_sequence.Let us know if you have any further questions on this (but do provide us with more detailed information).
Hope this helps!
Good luck,
Lotje
Did you like my answer? Feel free to

Thank you Lotje for your help!!
It is multiple png images, I have multiple images for go stimuli, and multiple for no-go stimuli, the ' O ' and ' X ' simbol is already edited in the image, or is it, probably, better to add on the OpenSesame?
Thank you again for your help!!
Kind regards,
Adriana
Hi Adriana,
To use variable images, you could do the following:
loopwhere you also defined the variables Letter, correct_response, etc. This column should contain the pictures that should be shown on each trial.sketchpadthat will be showing the stimulus.sketchpadand select one of the PNG files (doesn't matter which one)sketchpadand change the line drawing the image. Instead of the name of the .png file, you will use thesquare-bracketsyntax, like so:Becomes
This procedure is explained in detail in the beginner's tutorial. It is worth to take a look at.
The ' O ' and ' X ' symbols are already edited in the image, or is it, probably, better to add them on the OpenSesame?
I think both methods are fine. If you already prepared the stimuli with letters on top, I would just go with these ones. :) As long as you know to which condition (go or nogo) each stimulus belongs.
In this example, I wrote the letters on top of the images. Seeing a cat is "go", seeing a bunny is "no go".
Cheers,
Lotje
Did you like my answer? Feel free to

Hi Lotje,
Thank you so much for your help!!!
Kind Regards,
Adriana