pylabrobot.pumps.pump.Pump.run_for_duration#

async Pump.run_for_duration(speed: float | int, duration: float | int)#

Run the pump at specified speed for the specified duration.

Parameters:
  • speed (float | int) – speed in rpm/pump-specific units.

  • duration (float | int) – duration to run pump.