Hello, Psychopy-ers!
We have put together an experiment where participants read prime-target pairs (presented one word at a time on separate text components) and have to press a button whenever they find a color word (e.g., DOOR-BLUE). So, we have “go” and “no go” trials.
We’re using a Cedrus Box as a response box and we have updated to Psychopy3 release 2020.1, so that we could use multiple buttonbox components. This in itself has not been a problem. Psychopy finds the Cedrus box and responses to both the prime and the target are properly recorded.
The problem has to do with a feedback component we’ve created (see the code below). This component is set up in a different text component from the prime and target. It appears that–when selecting the feedback message–participants’ response to the target overrides their response to the prime. We have four possible types of feedback, depending on participants’ accuracy with the prime and the target. However, if participants are accurate with the prime but not with the target, they get the message they’ve messed up both. And if they are accurate with the target but not with the prime, they get the message they got both right.
The experiment does not crash (so there is no error message). As I said above, the Excel sheet with the data shows that the correct response is recorded for both the prime and the target. But by the time we get to the feedback component, it’s like the response to the prime has been overriden. Initially, we used the keyboard as a response box, and everything worked. It’s when we transitioned to the Cedrus Box that the issue arose, so that must be the culprit. However, we seem unable to get past this issue… So, any suggestions would be highly appreciated.
Code
if Target.corr:
if Prime.corr:
msg=both_correct
else:
msg=target_correct
else:
if Prime.corr:
msg=prime_correct
else:
msg: both_incorrect
Thanks!
best
josé