req key args

This commit is contained in:
Holler Mirko
2024-11-12 15:34:40 +01:00
committed by wakonig_k
parent 9c331c13e0
commit bb8bf3a072
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -469,8 +469,9 @@ class RtOMNYController(Controller):
self.get_device_manager().connector.send_client_info(f"Enabling the feedback...", scope="", show_asap=True)
self.socket_put("J0") # disable feedback
time.sleep(0.01)
self.move_to_zero()
time.sleep(0.01)
if not self.slew_rate_limiters_on_target():
print("Please wait, slew rate limiters not on target.")
@@ -479,8 +480,10 @@ class RtOMNYController(Controller):
time.sleep(0.05)
self.clear_trajectory_generator()
time.sleep(0.01)
self.laser_tracker_on()
time.sleep(0.01)
osamroy = self.get_device_manager().devices.osamroy
# the following read will also upate the angle in rt during readout
@@ -500,6 +503,7 @@ class RtOMNYController(Controller):
self.laser_tracker_wait_on_target()
self.omny_interferometer_align_tracking()
time.sleep(0.01)
self.socket_put("J1")
time.sleep(0.5)
+1 -1
View File
@@ -35,7 +35,7 @@ class FlomniFermatScan(SyncFlyScanBase):
scan_name = "flomni_fermat_scan"
scan_report_hint = "table"
scan_type = "fly"
required_kwargs = ["fov_size", "exp_time", "step", "angle"]
required_kwargs = ["fovx", "fovy", "exp_time", "step", "angle"]
arg_input = {}
arg_bundle_size = {"bundle": len(arg_input), "min": None, "max": None}
+1 -1
View File
@@ -35,7 +35,7 @@ class OMNYFermatScan(SyncFlyScanBase):
scan_name = "omny_fermat_scan"
scan_report_hint = "table"
scan_type = "fly"
required_kwargs = ["fov_size", "exp_time", "step", "angle"]
required_kwargs = ["fovx", "fovy", "exp_time", "step", "angle"]
arg_input = {}
arg_bundle_size = {"bundle": len(arg_input), "min": None, "max": None}