pylabrobot.bmg_labtech.vantastar.driver.features.shaker.Shaker.build_shake#

static Shaker.build_shake(pattern: Literal['orbital', 'linear', 'double_orbital'], speed: int, duration: int) → bytes#

IdleMoveCommand fields: mode (the pattern), speed code (rpm / 100 - 1), duration (s), off and on times.

Raises:

ValueError – if the pattern is unknown, the speed not a positive multiple of 100 rpm, or the duration not 1-65535 s.

Parameters:
  • pattern (Literal['orbital', 'linear', 'double_orbital'])

  • speed (int)

  • duration (int)

Return type:

bytes