A button box is a hardware device that is used to collect participant responses with high temporal precision, ideally with true ms accuracy.
Both the response (which button was pressed) and time taken to make it are returned. The time taken is determined by a clock on the device itself. This is what makes it capable (in theory) of high precision timing.
Check the log file to see how long it takes for |PsychoPy| to reset the button box’s internal clock. If this takes a while, then the RT timing values are not likely to be high precision. It might be possible for you to obtain a correction factor for your computer + button box set up, if the timing delay is highly reliable.
The ioLabs button box also has a built-in voice-key, but |PsychoPy| does not have an interface for it. Use a microphone component instead.
Everything in a |PsychoPy| experiment needs a unique name. The name should contain only letters, numbers and underscores (no punctuation marks or spaces).
The time that the stimulus should first appear. See startStop for details.
The duration for which the stimulus is presented. See startStop for details.
If this is checked, the first response will end the routine.
What information to save, how to lay it out and when to save it.
The ioLabs box lets you specify a set of active buttons. Responses on non-active buttons are ignored by the box, and never sent to |PsychoPy|. This field lets you specify which buttons (None, or some or all of 0 through 7).
Which button events to save in the data file. Events and the response times are saved, with RT being recorded by the button box (not by |PsychoPy|).
If selected, a correctness value will be saved in the data file, based on a match with the given correct answer.
If selected, any previous responses will be ignored (typically this is what you want).
Parameters for controlling hardware.
If selected, all lights will be turned off at the end of each routine.
If selected, the lights above the active buttons will be turned on.
Using code components, it is possible to turn on and off specific lights within a trial. See the API for iolab
.
See also
API reference for iolab