In a previous newsletter article, we demonstrated how to interface our Remote Control Server 2 (RCS) from three different stimulus presentation software tools, such as E-Prime® from Psychology Software Tools, Presentation® from Neurobehavioral Systems, Inc., and Experiment Builder from SR Research Ltd. Now, it is time to add another example to the range of options: PsychoPy.
A script with some examples including comments is provided here. It demonstrates, sequentially, how to initialize the connection to RCS, how to load workspaces and connect to the amplifier, as well as how to start different modes, such as monitoring, impedance checking, or recording. You can run this file either directly from PsychoPy Coder, but also step-by-step from your development environment of choice, for example Spyder. For further information, please also take a look at the official documentation. Instead of the pre-configured commands, you can always send raw messages directly, for example
rcs.sendRaw(‘M‘) instead of rcs.mode = ‘monitor‘.
There are some examples in the script, but please check the description of OLE commands in the manual provided in the downloaded RCS zip file if you want to know more.
We hope you can make use of this smoothly integrated RCS interface in PsychoPy for your future experiments using open source and Brain Products equipment. As always, please do not hesitate to contact us if you have questions or if you want to tell us about your experiments. We are always happy to get ideas and feedback from our users.