Problems with setting up a scale and providing text feedback for the first three trials

OS (e.g. Win10): Win 8.1
**PsychoPy version (e.g. 1.84.x): 1.90.2
**Standard Standalone? (y/n): y
**What are you trying to achieve?: I’m building and experiment where I set up a scale. The participant selects a number from 0 to 10 and after that receives a text feedback. There are three conditions (three face figures) that will determine the type of the feedback received (there are two possibilities). There is a loop (around the scale and the feedbacks) and the process is repeated 15 times (5 times for each face). The experiment is running pretty well, except that the first 3 trials are not returning any feedback… The program starts to provide a feedback after the third trial, and when that happens the provided feedback refers to the first three choices made, not the next three others (is like a “late” feedback for the first three trials). The conditions are defined in an excel file. Can anyone help me with that? I tried to use newer versions of psychopy, but I faced the same problem. Also, it doesn’t accuse any kind of error. Thanks!

Are you using a code component here? This sounds like an issue where the code component is placed below the feedback stimuli rather than above. This means the code gets executed after the feedback stimuli are already configured. The code needs to be executed first, so that the stimuli receive the current values, otherwise they end up a step behind.

In fact, there is a code component… I tried to change the position of the code to above all other components on the build and your suggestion solved my problem, thank you very much!