Step scan ran through

This commit is contained in:
gac-x05la
2024-10-01 11:09:53 +02:00
parent a185e8e7c1
commit 7280fea97d

View File

@@ -276,6 +276,7 @@ class SimpleStepScanBase(TemplatedScanBase):
def pre_scan(self):
# Move roughly to start position
logger.info(f"\n\nScan start position: {self.scan_startpos} with axis {self.scan_axis}\n\n")
yield from self.stubs.send_rpc_and_wait(self.scan_axis, "motor_enable.set", 1)
st = yield from self.stubs.send_rpc_and_wait(self.scan_axis, "move", self.scan_startpos)
st.wait()
yield None