psychopy.org | Reference | Downloads | Github

Black box tool kit

Hi all,

I am trying to run biopac through black box toolkit v1.
I am running it on an Ubuntu 18.04 computer.
The black box is connected to a usb port /dev/ttyUSB0

I tried running

import serial
ser = serial.Serial('/dev/ttyUSB0', 19200, timeout=1)
ser.open()
SerialException: Port is already open.

So I think that means the PC is able to talk to the biopac?

When I try to use the bbtk library

from psychopy.hardware import bbtk
black = bbtk.BlackBoxToolkit("/dev/ttyUSB0", 19200)
black.isAwake()
out -> False

So psychopy cannot reach the biopac.
Any suggestions?
Does someone have a working script with psychopy and biopac?

I am thinking of buying labjack U3 instead of the black box. Is it any better?

Thanks!