Skip to content

Commit

Permalink
Revert back to old kickoff complete
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiemery committed May 22, 2024
1 parent 7795baa commit e0b6f16
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ophyd_async/plan_stubs/fly.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,17 @@ def time_resolved_fly_and_collect_with_static_seq_table(
period=period,
)
yield from bps.declare_stream(*detectors, name=stream_name, collect=True)
yield from bps.kickoff_all(flyer, *detectors)
yield from bps.kickoff(flyer, wait=True)
for detector in detectors:
yield from bps.kickoff(detector)

# collect_while_completing
group = short_uid(label="complete")
yield from bps.complete_all(*detectors, flyer, group=group, wait=False)

yield from bps.complete(flyer, wait=False, group=group)
for detector in detectors:
yield from bps.complete(detector, wait=False, group=group)

done = False
while not done:
try:
Expand Down

0 comments on commit e0b6f16

Please sign in to comment.