Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

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

Sign In or Register to comment.