Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

change the display while wiating for a response

7 views
Skip to first unread message

Christophe Pallier

unread,
Mar 18, 2023, 10:33:49 AM3/18/23
to expyriment-users
Dear all,

I need to measure RT from the onset of visual stimulus that must disappear from the screen after 500ms.

Programming in the following way will miss responses occuring in the first 500ms:

    target.present()
    exp.clock.wait(500)  
    blanckscreen.present()
    key, rt = exp.keyboard.wait(duration=MAX_RESPONSE_DURATION)
   
Is there an elegant way to handle that (avoiding two `exp.keyboard.wait()`, one after `target.present()` and another one after `blankscreen.present()`?

Reply all
Reply to author
Forward
0 new messages