hack for scan fail issue on new instances.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user