Hi everyone.
I am currently struggling with an issue regarding feedback. My experiment shows 10 images to participants which they should try to remember. Then, a memory test is conducted during which 10 distractors and 10 target objects are presented individually on a screen, in random order. Participants should then click on one of two buttons and decide whether the image had been presented at the start of the experiment (target objects). It’s a simple yes or no answer. After each response from the participant a feedback is provided: either “correct!” or “incorrect!” on a blank screen. I have built the feedback mechanism according to these instructions:
https://www.psychopy.org/recipes/builderFeedback.html
Now, every now and again, feedback is being provided to the participants right after they read the instructions for the memory test and without showing the first stimulus. So the program is leaving out the first stimulus of the file which contains the distractors and target objects and jumps right to the feedback message which is very irritating. It doesn’t always happen which makes it even more confusing.
OS (e.g. Win10): Win10
PsychoPy version: v2022.2.1
What are you trying to achieve?:
I am trying to fix the bug that was described above. The first stimulus from the stimulus file should always be presented after participants read the memory test instructions.
What did you try to make it work?:
I have inserted a “neutral” stimulus at the beginning of my stimulus file and coded it with a 0 which means that it is neither a target object nor a distractor. I have also played around with the “selected rows” function and varied the starting point from 0 to 1. I have also closed the PsychoPy application before each participant and re-inserted the stimulus file.
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
I don’t get an error message. The first stimulus is just SOMETIMES not being presented even though it’s included in the file. My suspicion is that there might be something wrong with the feedback loop. My code contains a line that says #stored on last run routine (which I included according to the tutorial). So my guess is that the feedback needs to be “cleared” or “reset” at the very beginning of the experiment. But I haven’t figured out how to do that.
Any advice would be highly appreciated.