Open
Description
Original report (archived issue) by Philip Starkey (Bitbucket: pstarkey, GitHub: philipstarkey).
To avoid confusion, once you call
#!python
wait(t)
you should not be able to issue subsequent commands with a time before 't'.
For example, you might call:
#!python
t+=wait(t)
# science!
# image
camera.expose(t-70e-3)
Depending on the length of science, your exposure may start before or after the wait. Labscript cannot do anything to fix the sequence of events, but it can refuse to trigger the camera before the wait if it implements the above suggestion.