[open] Collect keyboard response independently from trial run
I want to collect the keyboard response within a trial without the keyboard_response item to interfere with the trial timing, i.e. I just want to log if and when a key is pressed within a trial while the experimental trial should go on independently whether a key is pressed or not.
Can I achieve this at all by using the keyboard_response item or openexp.keyboard or do I have to create some different script? (How?) Or do I need to play around with the parallel item for this?
I am using the expyriment backend.

Comments
Hi,
As far as I can see, this is not possible, because waiting for a key press means sampling the
key_down_stateof the keyboard at one given moment in time. Therefore, you need always to repeat this sampling for some time, to make sure to 'capture' the key press. That is, if your experiment is run in a sequential manner, there will be some delay due to keyboard response sampling.Indeed, I suppose you have to use the
parallelitem for this, however, I'm not entirely sure about it.Hope this helped.
Good luck,
Eduard
Hi there,
Has this problem been solved? And if yes, can someone explain how?
I have encountered an exact same issue.
Thanks!
Hi all,
The best way to continuously collect responses while also presenting visual stimuli is the new
coroutinesplug-in. This is plug-in is currently under development (but seems to work well) and you have to install it separately. (It will be integrated into OpenSesame 3.1 though.) You can find more information here:Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you!
I have problems installing Coroutines, and this doesn't open...:
"and install it as described here:
/plugins/installation"
I have troubles installing coroutines plug in, I get the icon to appear in OS, but when I drag it to use it, error appears. Could someone help me with that?
Could you be a bit more specific? What error message appears, and what version of OpenSesame are you using?
Check out SigmundAI.eu for our OpenSesame AI assistant!