Skip to content

Commit 5c35777

Browse files
committed
STARBackend.request_device_serial_number
1 parent 64b6804 commit 5c35777

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pylabrobot/liquid_handling/backends/hamilton/STAR_backend.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4301,6 +4301,10 @@ async def request_installation_data(self):
43014301
# TODO: parse res
43024302
return await self.send_command(module="C0", command="RI")
43034303

4304+
async def request_device_serial_number(self) -> str:
4305+
"""Request device serial number"""
4306+
return (await self.send_command("C0", "RI", fmt="si####sn&&&&sn&&&&"))["sn"] # type: ignore
4307+
43044308
async def request_download_date(self):
43054309
"""Request download date"""
43064310

0 commit comments

Comments
 (0)