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.
For no apparent reason digital lines behave different from analog lines. For example I propose instead:
do_line.go_high(t)
becomes:
do_line.constant(t, 1) or
do_line.constant(t, True)
this allows uniform syntax across analog and digital lines, and makes programming do lines with variables more natural. Realistically the go_high/low methods would remain, but be depreciated.
Original report (archived issue) by Ian B. Spielman (Bitbucket: Ian Spielman).
For no apparent reason digital lines behave different from analog lines. For example I propose instead:
do_line.go_high(t) becomes: do_line.constant(t, 1) or do_line.constant(t, True)
this allows uniform syntax across analog and digital lines, and makes programming do lines with variables more natural. Realistically the go_high/low methods would remain, but be depreciated.