set_peristaltic_speed

Description

Configures the default speed of a peristaltic pump in units of counts per second or its estimated flow rate in millilitres per second.

Signature

set_peristaltic_speed(self, name: str, cts_per_sec: Optional[int] = None, ml_per_sec: Optional[float] = None, accel: Optional[int] = None)

Parameters

name: str

The name of the peristaltic pump to configure.


cts_per_sec: int, optional

If provided, the value of the speed that will be set in units of cts/s.


ml_per_sec: float, optional

If provided and cts_per_sec is not given, this is the value of the estimated flow rate that will be set in mL/s. Calculated based on the mL/ct value provided during pump initialization.


accel: int, optional

A new value for default acceleration. If not provided, the old value will continue to be used.

Example