fix(scans): fixed scans for bec v3

This commit is contained in:
2024-11-14 17:53:07 +01:00
parent 14da4a1ad5
commit e583e25424

View File

@ -105,19 +105,9 @@ class PhoenixScanBaseTTL(ScanBase):
def _at_each_point(self, ind=None, pos=None):
self.p_s("PhoenixScanBaseTT._at_each_point")
yield from self._move_scan_motors_and_wait(pos)
if ind > 0:
yield from self.stubs.wait(
wait_type="read", group="primary", wait_group="readout_primary"
)
time.sleep(self.settling_time)
yield from self.stubs.trigger(group="trigger", point_id=self.point_id)
yield from self.stubs.wait(wait_type="trigger", group="trigger", wait_time=self.exp_time)
yield from self.stubs.read(
group="primary", wait_group="readout_primary", point_id=self.point_id
)
yield from self.stubs.wait(
wait_type="read", group="scan_motor", wait_group="readout_primary"
)
yield from self.stubs.trigger(min_wait=self.exp_time)
yield from self.stubs.read(group="monitored", point_id=self.point_id)
self.point_id += 1
self.p_s("done")