Getting the response time in real time
Hello,
A loop contains a sketchpad which shows a stimulus and ends with a keypress. It is followed by an inline computation of its response_time variable and another sketchpad which shows the computed value. The process runs correctly but what is shown is the response time of the PREVIOUS run in the loop, because the response_time variable is not refreshed in real time. How could I get the response time on the spot, just after execution of the sketchpad ? I have tried using the clock function unsuccessfully.
Thank you in advance,
Gérard
Comments
Hi Gérard,
use a feedback item and not a sketchpad to present the feedback. The problem is the run-prepare strategy, see here: https://osdoc.cogsci.nl/4.0/manual/prepare-run/
Eduard