pylabrobot.centrifuge.highres.microspin_backend.MicroSpinBackend.send_command#

async MicroSpinBackend.send_command(command: str, *, timeout: float | None = None) List[str]#

Send a single command and return any data lines emitted by the device.

Parameters:
  • command (str) – The full command line without CR/LF.

  • timeout (float | None) – Override the default per-command timeout (seconds).

Returns:

A list of the data lines emitted between ACK! and OK!. The list is empty for commands that report only status (e.g. home).

Raises:
Return type:

List[str]