hack for scan fail issue on new instances.

This commit is contained in:
2025-02-23 22:06:43 +01:00
parent 7f398e4b8c
commit 830bc9222b
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -124,6 +124,8 @@ class Daq(Assembly):
def start(self, label=None, **kwargs):
starttime_local = time.time()
while self.pulse_id._pv.get_timevars() is None:
time.sleep(0.02)
while self.pulse_id._pv.get_timevars()["timestamp"] < starttime_local:
time.sleep(0.02)
start_id = self.pulse_id.get_current_value(use_monitor=False)
+1
View File
@@ -2185,6 +2185,7 @@ class Incoupling(Assembly):
self._append(SmaractRecord, "SARES23-LIC:MOT_16", name="rx", is_setting=True)
self._append(SmaractRecord, "SARES23-LIC:MOT_15", name="y", is_setting=True)
self._append(MotorRecord, "SARES20-MF2:MOT_5", name="x",is_setting=True)
self._append(SmaractRecord, "SARES23-USR:MOT_2", name="focus_pos",is_setting=True)
try:
self.motor_configuration_thorlabs = {