The labscript Python library provides a translation from simple Python code to complex hardware instructions. The library is used to construct a "connection table" containing information about what hardware is being used and how it is interconnected. Devices described in this connection table can then have their outputs set by using a range of functions, including arbitrary ramps.
BSD 2-Clause "Simplified" License
0
stars
0
forks
source link
Desire output values between shots different from those present when stopping sequencing #36
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.