labscript-suite-temp / 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

Clear Button #28

Closed philipstarkey closed 7 years ago

philipstarkey commented 7 years ago

Original report (archived issue) by Jan Werkmann (Bitbucket: PhyNerd, GitHub: PhyNerd).


It would be nice to have a button (maybe next to the abort button) for clearing all shots from the queue.

We often have measurements that consist of 2000-4000 shots and want to clear the whole queue if we notice that something didn't work out after half of the shots have run. This is where this would be handy.

I have already implemented this as a plugin (which is 3 lines of actual code) but could also see this as a 'core' feature for BLACS.

Is this more of a plugin thing or something that could/should be added to the main code? If it should be a plugin do we keep these in the mainline repo or have we figured out a system how to manage those?

philipstarkey commented 7 years ago

Original comment by Jan Werkmann (Bitbucket: PhyNerd, GitHub: PhyNerd).


philipstarkey commented 7 years ago

Original comment by Philip Starkey (Bitbucket: pstarkey, GitHub: pstarkey).


This one should probably should be integrated as a core feature. However, you can currently do this with keyboard shortcuts (click on a shot, hit "ctrl+A", then hit the delete key)

philipstarkey commented 7 years ago

Original comment by Jan Werkmann (Bitbucket: PhyNerd, GitHub: PhyNerd).


I know but that takes 2 clicks and 2 presses on the keyboard and the button takes 1 click. We might want to add that as a abort option (instead of a button) just like with repeats option of "repeat all" and "repeat last" there could be "abort current" and "abort all". This would reduce GUI clutter and makes sense (at least for me)

philipstarkey commented 7 years ago

Original comment by Jan Werkmann (Bitbucket: PhyNerd, GitHub: PhyNerd).


Added in commit 038c538323aea165b74bdd68833e8738c1d4073d