Experiment force quite after adding a feedback based on resp.corr

If this template helps then use it. If not then just delete and start from scratch.

OS: Win10, 64 bit
Psychopy Version: 2020.2.8

I am trying to add some text feedback to the Stroop task using a code component. However, the experiment forces quite after one single trial, but the Stroop task itself, meaning without the feedback and code component, worked just fine.

In the runner review, it said NameError: name ‘resp’ is not defined

.

What have you named your keyboard component?

I’ve named it key_resp

Hello,

you need to use your keyboard-component name, key_resp, instead of just resp.

Best Jens

1 Like