diff --git a/xtreme_bec/scans/otf_scan.py b/xtreme_bec/scans/otf_scan.py index 8c7e3ed..b26dbc7 100644 --- a/xtreme_bec/scans/otf_scan.py +++ b/xtreme_bec/scans/otf_scan.py @@ -123,7 +123,6 @@ class OTFScan(ScanBase): devices, e.g. devices that have a short timeout. The pre-scan logic is typically implemented on the device itself. """ - self.actions.pre_scan_all_devices() self.dev.mirror_theta.base_velocity.put(self.default_velocity / 10) self.dev.grating_beta.base_velocity.put(self.default_velocity / 10) @@ -144,6 +143,8 @@ class OTFScan(ScanBase): self.dev.grating_beta.velocity.put(beta_speed) self.mono.sync_with_undulator.put(1) + self.actions.pre_scan_all_devices() + @scan_hook def scan_core(self): """