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
lockrefuses.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_outputonly.
- Raises:
ValueError – unless given
levelsalone, nothing, orauxiliary_outputwithpump; or ifauxiliary_outputis not 2.