This commit is contained in:
@@ -78,6 +78,10 @@ class HklFlyScan(AsyncFlyScanBase):
|
||||
num_points = len(positions)
|
||||
total_time = num_points * self.exp_time
|
||||
|
||||
profile_motors = self.device_manager.devices[self.controller].axes.get()
|
||||
for axis_name in profile_motors:
|
||||
yield from self.stubs.send_rpc_and_wait(self.controller, f'{axis_name}.use_axis.put', 0)
|
||||
|
||||
if self.optimize_profile:
|
||||
yield from self.stubs.send_rpc_and_wait(self.controller, 'num_points.put', 2)
|
||||
yield from self.stubs.send_rpc_and_wait(self.controller, 'num_pulses.put', num_points)
|
||||
|
||||
Reference in New Issue
Block a user