Skip to content

Commit 69e4eda

Browse files
Add Y to gonio
1 parent a9eddf5 commit 69e4eda

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/dodal/beamlines/i02_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def s4_slit_gaps() -> Slits:
9898

9999
@devices.factory(use_factory_name=False)
100100
def goniometer() -> SampleMotors:
101-
return SampleMotors(f"{PREFIX.beamline_prefix}-MO-SAMP-01:", name="gonio")
101+
return SampleMotors(f"{PREFIX.beamline_prefix}-MO-", name="gonio")
102102

103103

104104
@devices.factory()

src/dodal/devices/beamlines/i02_1/fast_grid_scan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(
3434
# See https://github.com/DiamondLightSource/mx-bluesky/issues/1203
3535
self.dwell_time_ms = epics_signal_rw_rbv(float, f"{full_prefix}EXPOSURE_TIME")
3636

37-
self.status = epics_signal_r(int, f"{prefix}SCAN_STATUS_RBV")
37+
self.status = epics_signal_r(int, f"{full_prefix}SCAN_STATUS_RBV")
3838

3939
self._movable_params["dwell_time_ms"] = self.dwell_time_ms
4040

src/dodal/devices/beamlines/i02_1/sample_motors.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ def __init__(
1313
# See https://github.com/DiamondLightSource/mx-bluesky/issues/1212
1414
# regarding a potential motion issue with omega
1515
with self.add_children_as_readables():
16-
self.x = Motor(f"{prefix}X")
17-
self.z = Motor(f"{prefix}Z")
18-
self.omega = Motor(f"{prefix}OMEGA")
16+
self.x = Motor(f"{prefix}SAMP-01:X")
17+
self.z = Motor(f"{prefix}SAMP-01:Z")
18+
self.y = Motor(f"{prefix}GONJK-01:HEIGHT")
19+
self.omega = Motor(f"{prefix}SAMP-01:OMEGA")
1920
super().__init__(name=name)

0 commit comments

Comments
 (0)