labscript-suite-temp-2 / blacs

BLACS, part of the labscript suite, provides an interface to hardware used to control a buffered experiment. It manages a queue of shots to be run as well as providing manual control over devices between shots.
Other
0 stars 0 forks source link

Implement abort during delay when using cycle_time plugin #55

Open philipstarkey opened 4 years ago

philipstarkey commented 4 years ago

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


In PR #50, the "cycle_time" plugin, I did not implement handing the case where the user clicks the abort button whilst the experiment queue is waiting for the target time before running the next shot. Nothing is checking for the abort event whilst the queue is waiting, and this means the abort does not actually occur until after transition_to_buffered, which isn't what you want.