Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Problems with correct answer and feedback go/no-go task

edited September 2015 in OpenSesame

Hi folks.

I have recently discovered Opensesame and I am currently designing a Go/no-Go task for one of my researches.

My research is about sexuality but I changed the variables to beers/wines and good/bad since it's more fun. The participant will face 4 randomized practice trials and 4 random critical trials. The "Go" responses go with the spacebar, while the "timeout" is for the "no-Go" responses and two kind of feedbacks are shown.

Thanks to tutorials and former threads I managed to create the experiment and solve common issues but still I have some difficulties about it.

-the timeout response is not recognized as a correct one; to solve this I added a bit of coding during my trials but looking at the data it says that the variable "correct" is undefined. This is the code that I used. image

-since it does not define a correct response the feedback items that I wanted to show during trials do not work correctly

  • I noticed that sometimes it takes two keypress to give an answer (so even for the instructions I have to press the spacebar two times), is there some kind of delay? or is it just me?

I uploaded my experiment so if someone could help me or give some suggestions I am really open to make some changes on it. If I have to code a bit more it's ok, I am used to other softwares but I would prefer to master Opensesame :)

https://drive.google.com/file/d/0B3uvn7SSuXyZZ1l5azJiS1NUWUE/view?usp=sharing

Thanks for your work!

Aurelio

Comments

  • edited 10:22AM

    Hi Aurelio,

    the timeout response is not recognized as a correct one; to solve this I added a bit of coding during my trials but looking at the data it says that the variable "correct" is undefined. This is the code that I used.

    When a timeout occurs, response is set to "None", whereas you appear to assume that it's set to "timeout". You can find an example of this here:

    I noticed that sometimes it takes two keypress to give an answer (so even for the instructions I have to press the spacebar two times), is there some kind of delay? or is it just me?

    There seem to be two things that are a bit odd in your experiment:

    • You have a text_display that has a 'keypress' duration, followed by a keyboard_response. This means that you require two key presses: one to end the text_display, and one to end the keyboard_response. In general, you should either set an item's duration to 'keypress', or have the item followed by a keyboard_response, but not both.
    • You have a sketchpad with a 840 ms duration, followed by a keyboard_response. This means that, after showing the sketchpad, the experiment pauses for 840 ms, before moving on to the keyboard_response to collect a key press. So keyboard input during that 840 ms interval is lost.

    Does that clear things up?

    Cheers,
    Sebastiaan

  • edited 10:22AM

    Dear Sebastian,

    things worked smoothly after your suggestions and hints. Designing during summer vacations could lead to banal issues, but now it does what I want him to do.

    Thanks a lot for your help and work :)

    Cheers,

    Aurelio

Sign In or Register to comment.