We often desire to have some activity running between shots (MOT loading, or shining UV) or whatever, that is not good or safe to have on for a long time. So we do want to use the time between sequences for this, but we do not want the system to sit in this state for a very long time when we are not actively cycling.
propose new output methods that looks somewhat like:
DO_2.safe_state(0, timeout=5)
which directs labscript to demand DO_2 return to "0" after 5 seconds (say to avoid having something overheat). The default behavior would remain as it is, only those channels with a safe_state set would be subject to this.
Original report (archived issue) by Ian B. Spielman (Bitbucket: Ian Spielman, GitHub: ispielma).
We often desire to have some activity running between shots (MOT loading, or shining UV) or whatever, that is not good or safe to have on for a long time. So we do want to use the time between sequences for this, but we do not want the system to sit in this state for a very long time when we are not actively cycling.
propose new output methods that looks somewhat like:
DO_2.safe_state(0, timeout=5)
which directs labscript to demand DO_2 return to "0" after 5 seconds (say to avoid having something overheat). The default behavior would remain as it is, only those channels with a safe_state set would be subject to this.