pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationPlateClamp#
- class pylabrobot.formulatrix.mantis.driver.simulator.MantisSimulationPlateClamp(*, driver: MantisSimulationDriver, levels: Dict[int, Tuple[float, int]] | None = None, auxiliary_output: int | None = None, pump: Pump | None = None)#
Bases:
PlateClampA plate clamp with no device behind it: each command sets the state it ends in, at once; a valve on a pressure-board output switches at once.
Attributes
The pressure-board output switching the clamp's valve; None for a clamp on board 12.
Methods
__init__(*, driver[, levels, ...])lock(*[, level])On board 12, release the clamp, lock it at
leveland wait until it reads clamping done; if it does not, it is released again before raising.request_locked(*[, attempts])Whether the clamp holds: on board 12 whether it reports clamping done; on a pressure-board output whether its valve reads switched on, which is not plate contact.
request_state(*[, attempts])The simulated state; refused for a valve on a pressure-board output, as for
PlateClamp.unlock()Release the clamp: on board 12 wait until it reads unclamping done; on a pressure-board output switch the valve off and restore a pump this clamp started.