[solved] show sketchpad if keyboard response is not made during previous
Hello,
I am trying to set up an experiment so that a screen is shown with stimuli for 500ms and if no response is made, another screen with just a fixation dot is shown until they make a response. Currently, if a response is made during the stimuli, the fixation dot is shown requiring the subject to respond a second time. So, the sequence is: stimuli (500ms, set_response_period 'yes'), fixation (0ms, set_response_period 'yes'), keyboard_response (infinite)
Is there a way to specify that if a subject makes a response during the response period, the fixation sketchpad is skipped? Maybe by specifying run if [response]=none? (I tried this but it seems to then not move forward after 500ms for the stimuli).
I have looked through some older posts on this issue and it seems a bit complicated in those cases, however this seems fairly straight forward.
Thanks so much.
Comments
Hi Elizabeth,
I think you're almost there, although I'm not entirely sure what your trial structure is at the moment (please post a screenshot if this response doesn't answer your question).
Specifying the following run-if statement for the fixation sketchpad ...
[response] = None... should indeed prevent this sketchpad from being presented if a response has already been collected, provided that the response is collected in such a way that the response variable is set. But it sounds like your trial will always advance to a keyboard_response item, and wait for another response. Could that be it?
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
That is good that I am close : ) Yes, it always progresses to the keyboard_response item.
Here is a screen-shot, I am not sure if this helps...when I change the run if, it won't progress from the comparison sketchpad (where the stimuli is shown) until a response is made. I assume this is because the key_board response duration is set to infinite, but I want there to be unlimited time to answer, but only show the stimuli for 500ms.
Ok, actually I see what you mean about the response, I added another keyboard_response, used the run if statement and it is working perfectly!
Excellent program, it has made my life so much easier! Thank you.
Great!
Check out SigmundAI.eu for our OpenSesame AI assistant!