bpod_core.bpod.Bpod

class bpod_core.bpod.Bpod

Bpod class for interfacing with the Bpod Finite State Machine.

__init__(port=None, serial_number=None)
Parameters:
  • port (str | None)

  • serial_number (str | None)

close()

Close the connection to the Bpod.

open()

Open the connection to the Bpod.

Raises:
  • SerialException – If the port could not be opened.

  • BpodException – If the handshake fails.

update_modules()
property port: str | None

The port of the Bpod’s primary serial device.

serial0: ExtendedSerial

Primary serial device for communication with the Bpod.

serial1: ExtendedSerial

Secondary serial device for communication with the Bpod.

serial2: ExtendedSerial | None = None

Tertiary serial device for communication with the Bpod - used by Bpod 2+ only.

property version: VersionInfo

Version information of the Bpod’s firmware and hardware.