Hi, I saw this question was asked a few times but I couldn’t applied the advice to my experiment.
OS: Mac High Sierra
PsychoPy version: 3.2.4
What are you trying to achieve?: Figure out why all responses are logged as 0 in output file and post-trial feedback, even when correct key was pressed. I am running a semantic judgement task with forced choice (yes or no, defined by ‘m’ and ‘z’ key respectively). I’ve had this issue before, but ignored it because I could just create an excel template to correct this. The output file correctly logged the key that was pressed, so I can circumvent the problem by getting excel to compare CorrAns with the response made and return the correct value. The problem is that for this particular experiment I need to give participants feedback after every trial, and this comes up as incorrect every time.
What did you try to make it work?: Double checked that there are no typos in the parameter file, that $ is there before CorrAns in keyboard setting, that the correct keys (‘m’ and ‘z’) are correctly defined in the excel file and in the response settings
What specifically went wrong when you tried that?: Correct responses are logged as 0 in the output file, and post-trial feedback comes out with ‘else’ condition on all trials, even when correct response was made.
I am using builder and am totally clueless in Python. Hope this problem is really straightforward and has a silly solution.