Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict timing of shot-submission times #35

Open
philipstarkey opened this issue May 31, 2017 · 1 comment
Open

Strict timing of shot-submission times #35

philipstarkey opened this issue May 31, 2017 · 1 comment

Comments

@philipstarkey
Copy link
Member

Original report (archived issue) by Ian B. Spielman (Bitbucket: Ian Spielman, GitHub: ispielma).


For optimal experimental stability it is desired that shots be submitted as periodically as possible. I propose adding a new kwarg to "stop" in labscript so:

stop(t)

becomes

stop(t, shot_interval=20)

this would demand that the execution (not programming) of the next shot in the sequence start as close to 20 s after this one was executed as possible. If not currently present the h5 file will contain attributes marking both the start and completion time of the script along with a boolean reporting if the script was successfully started at the desired shot_interval (this might fail sometimes, owing to novatech programming for example), but we don't want to stop cycling because of this.

@zakv
Copy link
Contributor

zakv commented Feb 16, 2021

It might be reasonable to close this issue now. This has been implemented, though it requires enabling the blacs cycle_time extension in the lab config. The delay can be after programming, as requested above, by setting the optional cycle_time_delay_after_programming argument of stop() to True. I don't think it saves a boolean indicating success/failure of maintaining the desired cycle time though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants