chore(otf): move pre scan after setup
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user