If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10):
PsychoPy version 3.03
**Standard Standalone? yes
What are you trying to achieve?:
I have different triggers associated to type of feedback, all triggers are defined in my condition files and seem to be sent accordingly, but there is an exception, when participants make errors, the number of the trigger associated to feedback should be different.
What did you try to make it work?:
I´ve used this piece of code when I set the feedback message:
if resp.corr: msg= "Mmm...qué bueno!\npuntos:" + str (Value) else: msg= "Puagh...esa no me gustó!" trigger_feedback= 100
What specifically went wrong when you tried that?:
In the spreedsheet data, those trials in which resp.corr = 0, in the column trigger_feedback still appears the value associated to correct response, instead of a value of 100. I am not sure if I did a mistake and I should change the value of trigger associated to feedback error in a different way. Thanks so much in advance!