pylabrobot.formulatrix.mantis.driver.features.plate_clamp.PlateClamp.request_state#
- async PlateClamp.request_state(*, attempts: int = 3) int#
The clamp’s state (GetMotorClampState);
CLAMP_STATE_DESCRIPTIONSsays what each means.Clamping done (3) means the lock’s timer ran out, not that a plate is held: a device test read the same states at the same times with and without a plate.
- Parameters:
attempts (int) – how often the read is sent before giving up.
- Raises:
MantisConfigurationError – for a clamp on a pressure-board output, which has no state; nothing is sent.
- Return type: