Dear forum,
I’m developing a setup for ambulatory outdoors EEG studies that runs both stimulus presentation software (PsychoPy v2025.1.1) and EEG recording software (Brain Vision Recorder) on the same machine (a Windows Surface Tablet, running Win 11). I realize this is typically not recommended (I would normally use separate machines for stimulus presentation and recording) but I’m trying to use minimal hardware for this ambulatory setup, and in pilot testing the setup seems to perform well.
I’d like to use PsychoPy to remotely control BV Recorder, so that I can automatically start and stop EEG recordings using PsychoPy code. In theory, this should just be a case of installing the psychopy-brainproducts plugin in PsychoPy and running the following example code, provided by brain products here. I run this code to try and establish a connection with the BV Remote Control Server:
import time
from psychopy.hardware import brainproducts
# Host, (Port), Timeout, (Testmode)
rcs = brainproducts.RemoteControlServer(host='127.0.0.1',timeout=20)
However, I get this error:
I suspect that it might have something to do with the host port, which I have set to 127.0.0.1 in both the script and the Remote Control Server. But the error message suggests I need to install the psychopy-brainproducts plugin, which doesn’t make sense as it’s definitely installed and I’ve restarted the session multiple times.
If anyone has suggestions for how to get this working, I’d love to hear them!
Thanks in advance!
Tom


