pylabrobot.machines.backends.usb.USBBackend.read

pylabrobot.machines.backends.usb.USBBackend.read#

USBBackend.read(timeout: int | None = None) bytearray#

Read a response from the device.

Parameters:

timeout (int | None) – The timeout for reading from the device in seconds. If None, use the default timeout (specified by the read_timeout attribute).

Return type:

bytearray