-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Original report (archived issue) by Kevin Cox (Bitbucket: kccox).
Hi Guys,
I'm a postdoc working in the lab with David Meyer. I'm starting up an atom-cavity QED experiment (not BEC). I want to add a control to continuously compile and run the labscript. David hinted at our desire to do this in issue #44. But what might be easiest, is just to add a button to runmanager that will "engage" every "x" seconds. I'm thinking about adding this in our code presently. After a quick google search, it looks like we could just use the QTimer class to call the engage event over and over. Is this a decent idea? Do you have any advice on how to do this the best way?
Further, what would make this functionality even better (but probably isn't absolutely critical for us right away), is for runmanager to check and make sure blacs has finished before engaging again, so the queue doesn't keep filling up and to make sure the experiment rep rate is actually what you want (that is, x). But it seems like this would require changing blacs as well, to communicate with runmanager about when runs are finished, or maybe if the queue is empty. We may pursue adding this in our code as well.
Overall, I think for higher rep-rate experiments, having a continuous compile and run is an important functionality. It allows the person running the experiments to tweak things and do feedback on the fly, without having to hit engage over and over again. So, if we get this working well, would you like us to make a pull request?