Giving feedback at the end of the Flanker's task

OS : Win10
**PsychoPy version : (2022.2.5)
Hello everyone. I am trying to do a Flanker task with letters and I have to give feedback at the end of the experiment. It should show the Average RT in conditions like; compatible RT, incompatible RT and the flanker effect in ms. I searched everywhere but got no guidance. Can someone please help? Would be really grateful.

Hi, there’s some guidance on how to provide feedback here Extending Builder with code — Workshops for PsychoPy 2023 2023

thank you for your answer but I need a code with a formula or something of the sort to show the average RT (response time) for the compatible (congruent), incompatible (incongruent) and the flanker effect (which is compatible RT - incompatible RT) at the end of the experiment. Can someone please give me an idea as to how to do that? Do I just make a feedback routine in the trial loop or create a separate loop for feedback? I tried different combinations of codes but they don’t work. Any help would be appreciated!

flanker (18.9 KB)
Hi, here’s a minimal demo on how to achieve it. Hope it helps :slight_smile:

Hi. Thank you so muchh! It’s working. Much appreciated