(macOS 14.0)
(PsychoPy Standalone v2024.1.4)
(Cedrus Button Box: Riponda Model C, Firmware version 2.2.8)
Hi,
I would like to use a Cedrus button box across multiple different routines. I’ve worked through various issues to get the button box to initially work in this thread.
However, there are two new issues:
- PsychoPy can’t detect the button box when it is present across multiple routines
- Even if the button box works when I initially program it, it stops working upon closing and re-opening the .psyexp file. In Builder view, the Cedrus button box icon has been replaced with a puzzle piece and question mark icon upon re-opening.
I see this comment in the psychopy-cedrus extension package:
Note that there is a limitation currently that a button box can only be used in a single Routine. Otherwise PsychoPy tries to initialise it twice which raises an error. As a workaround, you need to insert the start-routine and each-frame code from the button box into a code component for a second routine.
I don’t have much coding experience so I’m unsure how to interpret these instructions. What exactly are the start-routine and each-frame codes that I would need to add as custom code components?
Thanks!