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:
- Returns:
A list of the data lines emitted between
ACK!andOK!. The list is empty for commands that report only status (e.g.home).- Raises:
MicroSpinError – If the device terminates with
ERROR!.MicroSpinProtocolError – If the ACK or terminator cannot be parsed.
asyncio.TimeoutError – If the timeout elapses.
- Return type: