pylabrobot.formulatrix.mantis.driver.features.plate_clamp.PlateClamp.__init__#

PlateClamp.__init__(*, driver: MantisDriver, levels: Dict[int, Tuple[float, int]] | None = None, auxiliary_output: int | None = None, pump: Pump | None = None)#
Parameters:
  • driver (MantisDriver) – the driver it sends through.

  • levels (Dict[int, Tuple[float, int]] | None) – a clamp on board 12: the unit’s lock levels, level -> (PWM duty, timeout_ms), as declared; None when none are declared, and then lock refuses.

  • auxiliary_output (int | None) – a clamp on a pressure-board output: the output switching its valve.

  • pump (Pump | None) – the pump supplying that valve’s air; given with auxiliary_output only.

Raises:

ValueError – unless given levels alone, nothing, or auxiliary_output with pump; or if auxiliary_output is not 2.