mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-02-07 07:38:40 +01:00
Merge branch 'master' of gitlab.psi.ch:/bec/ophyd_devices
This commit is contained in:
@@ -272,6 +272,7 @@ class GalilSetpointSignal(GalilSignalBase):
|
||||
return self.setpoint
|
||||
|
||||
@retry_once
|
||||
@threadlocked
|
||||
def _socket_set(self, val: float) -> None:
|
||||
"""Set a new target value / setpoint value. Before submission, the target value is adjusted for the axis' sign.
|
||||
Furthermore, it is ensured that all axes are referenced before a new setpoint is submitted.
|
||||
@@ -488,6 +489,8 @@ class GalilMotor(Device, PositionerBase):
|
||||
atol=self.tolerance,
|
||||
)
|
||||
self._done_moving(success=success)
|
||||
if not success:
|
||||
print(" stop")
|
||||
logger.info("Move finished")
|
||||
|
||||
threading.Thread(target=move_and_finish, daemon=True).start()
|
||||
|
||||
Reference in New Issue
Block a user