Building a Stop-Signal Task

PsychoPy version : v2023.1.2.

In this version of the task for the stop trials, there are faces surrounded by red that are appearing after a delay (SSD, initially set at 250 ms) that is adjusted depending on the participant’s success in inhibiting responses in the preceding stop trials. In case of successful response inhibition, delay increases and in case of failed response, delay decreases for the next stop trial. The go trials consists of the same faces but without the red contour.

I tried to add a code in my flow but it seems like the delay is not adjusting and the transition from one face to another is not smooth. Also, the stop faces appear during the first trials and then there are only the go trials appearing.

Thank you for your help, it has been weeks that I’ve been trying to solve the problem…

Neutral1.xlsx (10.0 KB)
StopSignal_test.psyexp (66.0 KB)