diff --git a/csaxs_bec/devices/omny/rt/rt_lamni_ophyd.py b/csaxs_bec/devices/omny/rt/rt_lamni_ophyd.py index 3a3f6b0..05ae915 100644 --- a/csaxs_bec/devices/omny/rt/rt_lamni_ophyd.py +++ b/csaxs_bec/devices/omny/rt/rt_lamni_ophyd.py @@ -328,6 +328,15 @@ class RtLamniController(Controller): ) # we set all three outputs of the traj. gen. although in LamNI case only 0,1 are used self.clear_trajectory_generator() + lsamrot_current = self.device_manager.devices.lsamrot.obj.readback.get() + if abs(lsamrot_current) > 10: + self.device_manager.connector.send_client_info( + f"lsamrot is at {lsamrot_current:.1f} deg -- rotating back to 0 deg as part " + "of the interferometer feedback reset. This is a long move and may take a " + "while...", + scope="feedback_enable_with_reset", + show_asap=True, + ) self.device_manager.devices.lsamrot.obj.move(0, wait=True) galil_controller_rt_status = (