| Reference | Downloads | Github

Storing no response as a correct response

What are you trying to achieve?:
I am trying to save no response as a correct response in a classic stop signal task.

What did you try to make it work?:
I followed previous advice from this post:

  • I have put ‘None’ in allowed keys and selected store correct answer
  • I have put ‘None’ in the corrAns column of my .csv file
  • I have included code in builder:
    if key_stop.corr:
    msg=“Remember don’t press any keys”

What specifically went wrong when you tried that?:
Nothing went wrong but my message didn’t show.
I’ve done exactly the same for when a participant correctly responds and that works perfectly.
Any suggestions for what I’ve missed would be greatly appreciated.

Hi @newbie2, if you enter None in allowed keys in the keyboard component, and None in your conditions file (both without the quotation marks, and $corrAns in the correct answer field in the keyboard component, you should be getting the desired behaviour.

That’s what I thought.
Apologies if I’ve missed something very basic but I can’t figure out where I’m going wrong

Stim.csv (173 Bytes) stopfeedback.psyexp (21.1 KB)

Ah, yes your message is not showing because you need to set the feedback text box to update “every repeat”, so that the text is updated on each run of the routine.

Thank you once again!

1 Like