psychopy.org | Reference | Downloads | Github

How to measure the time of each responce

Hello!

I have some problems with my PsychoPy experiment. The point is that I need to record each time of response. But now It records the time from the very beginning of the experiment. The thing I need is to measure the time since the previous response was made (see the screenshot). Please help me!

image|317x428

Hi,

I don’t know the details of your experiment but a possible solution is to use a code component to set a clock with the core.Clock() function at the beginning of the routine. Then in the each frame tab write a piece of code that says that everytime a key is pressed the time of response in collected, the time is added to the output file and the clock is set back to 0, therefore the next time a button is pressed the response time will be since the previous response was made. You can have different clock for different response keys or just one clock for every key.