I am trying to collect data with a black box toolkit response pad in psychopy. I am not good at coding and relatively new to psychopy. Here are the questions:
Normally the reponse pad works just like a regular keyboard. But I could not be sure if the accuracy of reaction time will be preserved with a keyboard component. Or do I need to use the io labs component or cedrus component?
If I need to use the io labs component, how do I change the allowed key presses. io labs have (0,1,2,3,4,5,6,7) as the default active buttons. However, black box toolkit response pad has buttons associated with a,s,d,f key presses. So, should I change (0,1,2,3,4,5,6,7) to (a,s,d,f) or a subset of that if for example I want to allow only two keys in the response box?
Lastly, how can I check whether the response pad is working as accurately as it should? Is there a piece of code or a procedure to check that on psychopy?
Thanks in advance
Aziz Akkaya
NOTE: as a side note, the experimental paradigm I will be using is Implicit association test. So participants will need to press one of two keys.
If so, that should be used as a regular keyboard. Make sure your input is set to use either psychtoolbox or iohub (NOT pyglet event module) and your timings should then certainly be sub-millisecond precision.
To test that’s working, the only way I’ve ever done it is using the robot actuator from BBTK to simulate button presses at a known time, in conjunction with a photodiode on the screen.I believe you can also use keypress detectors slipped under the button and check that the time from PsychoPy matches the time reported by BBTK but I haven’t used that system myself. Either way, it requires careful study of the manual from BBTK
Sorry for the late reply.
Yes, it is the one. And thanks for the info.
Frankly, I am new to both psychopy/python and response pads. So, I need some introduction to the concepts and issues around it. Do you have any recommendations for me to get started about the things you mentioned? It can be books, tutorials etc.
Hi, I got a BBTK response pad recently and plan to use that with PsychoPy. I wonder if you could elaborate on what configuration should be made in PsychoPy?
Can we just use the regular keyboard component? How do you set the input to use psychtoolbox or iohub (I couldn’t find the option in keyboard’s dialog)? Thanks in advance!
Yes, just use as a keyboard. You can set your preferred method using
Experiment Settings > Input like this. Both ioHub and PsychToolbox have excellent timing, running in a separate process to your experiment and timestamping the keypresses when they are made (rather than just when they’re used)