[open] Collecting accumulative RT across two sketchpad frames
Can you help? I want to present two frames consecutively for different lengths of time, and allow participants to respond at any time during the two presentations. I guess I need an inline script, but don't know how to write it appropriately... Many thanks, Tilly
Comments
Hi Tilly,
The script below shows how you can collect responses while two sketchpads are being presented. In general, the trick is to alternate between showing a display and polling the keyboard. The responses are stored as
response1,response_time1, etc. For more details and instructions on how to use this script in your experiment, see the code comments.Similar questions have been asked a few times before, and these discussions may be useful as well:
The script may seem a bit complicated. To get some feel about how this works, I would recommend walking through one of the Python tutorials. You won't need any extreme coding skills, just a basic understanding of the syntax:
Cheers!
Sebastiaan
Update: Fixed typo
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
Thank you so much for all your help with this - will give it a go!
BW, Tilly
I think there is a typo in this script. second while loop should compare with "duration2" not "duration1".
Good spot @filo!
Check out SigmundAI.eu for our OpenSesame AI assistant!