Psychopy does not generate rt in n-back test

Hi everyone,
It is the first time I’m trying to use psychopy. I’m creating a long experiment for my experimental thesis but I want to show you all only the n-back test because that’s where I’m having trouble.
Here, there is a screenshoot of my psychopy builder, as well as, csv. file generated by psychopy:

As you can see psychopy doesn’t generate key_response.rt. It furthermore doesn’t record the right ‘‘key_resp.corr’’.
If the answer is wrong it is not recorded
979398_NBACKTEST_2023-12-19_12h00.57.806.csv (4.5 KB)

I hope I was clear.

Your keyboard response is during a “static period”. I would start by removing ISI_2

I can’t remove it. It is necessary that there is an ISI of 2500 ms in my n-back test.

Hello,

you do not need to use the static ISI-component to create an interstimulus intervall of 2500 ms.

A static ISI serves other needs than to create an interstimulus intervall: From the documentation:

The Static Component allows you to have a period where you can preload images or perform other time-consuming operations that not be possible while the screen is being updated. Static periods are also particularly useful for online studies to decrease the time taken to load resources at the start.

Typically a static period would be something like an inter-trial or inter-stimulus interval (ITI/ISI). During this period you should not have any other objects being presented that are being updated (this isn’t checked for you - you have to make that check yourself), but you can have components being presented that are themselves static. For instance a fixation point never changes and so it can be presented during the static period (it will be presented and left on-screen while the other updates are being made).

I would also follow @wakecarter’s advice to remove the static ISI to see if that prevents RT from being recorded.

Best wishes Jens

I’ve removed the static period and effectively now key_response.rt is appeared… but how I should create an interstimulus interval?

I normally put the ISI in a separate routine or before the start of the stimulus. Reduce the duration of the stimulus from the duration of the ISI.

I’ve changed both the start and the duration of 1back and 2back routine. Fortunately It works perfectly, just as It worked with ISI component.

I really appreciate your help.