fix(scans): fixed scans for bec v3
This commit is contained in:
@ -105,19 +105,9 @@ class PhoenixScanBaseTTL(ScanBase):
|
|||||||
def _at_each_point(self, ind=None, pos=None):
|
def _at_each_point(self, ind=None, pos=None):
|
||||||
self.p_s("PhoenixScanBaseTT._at_each_point")
|
self.p_s("PhoenixScanBaseTT._at_each_point")
|
||||||
yield from self._move_scan_motors_and_wait(pos)
|
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)
|
time.sleep(self.settling_time)
|
||||||
yield from self.stubs.trigger(group="trigger", point_id=self.point_id)
|
yield from self.stubs.trigger(min_wait=self.exp_time)
|
||||||
yield from self.stubs.wait(wait_type="trigger", group="trigger", wait_time=self.exp_time)
|
yield from self.stubs.read(group="monitored", point_id=self.point_id)
|
||||||
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"
|
|
||||||
)
|
|
||||||
|
|
||||||
self.point_id += 1
|
self.point_id += 1
|
||||||
self.p_s("done")
|
self.p_s("done")
|
||||||
|
Reference in New Issue
Block a user