pylabrobot.high_res.lid_valet.HighResLidValet.send_command#

async HighResLidValet.send_command(command: str, timeout: float) str#

Send a command and wait for the controller to complete it.

Returns the accumulated reply text on OK!; raises HighResLidValetError on ERROR!, ABORTED!, an invalid acknowledgement, or a timeout.

A command occupies the connection until the controller reports completion, so concurrent callers are serialized rather than interleaving their replies.

Parameters:
Return type:

str