Skip to content

Commit c1e0583

Browse files
committed
Expose request_y_pos_iswap_channel
1 parent 981ef4b commit c1e0583

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pylabrobot/liquid_handling/backends/hamilton/STAR_backend.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6402,6 +6402,19 @@ async def position_components_for_free_iswap_y_range(self):
64026402
"""Position all components so that there is maximum free Y range for iSWAP"""
64036403

64046404
return await self.send_command(module="C0", command="FY")
6405+
6406+
async def request_y_pos_iswap_channel(self):
6407+
""" Query the current Y-axis position of the iSWAP channel. """
6408+
6409+
y_pos_query_increments = await self.send_command(
6410+
module="R0",
6411+
command="RY",
6412+
fmt="ry######",
6413+
)
6414+
6415+
y_pos_query_mm = self.y_drive_increment_to_mm(y_pos_query_increments["ry"])
6416+
6417+
return round(y_pos_query_mm, 1)
64056418

64066419
async def move_iswap_x_relative(self, step_size: float, allow_splitting: bool = False):
64076420
"""

0 commit comments

Comments
 (0)