lneuhaus / pyrpl

pyrpl turns your RedPitaya into a powerful DSP device, especially suitable as a lockbox in quantum optics experiments.
http://lneuhaus.github.io/pyrpl/
MIT License
140 stars 108 forks source link

Software trigger 'immediately' of ASG sets output to 'off' temporarily #376

Open e3nder opened 5 years ago

e3nder commented 5 years ago

Software triggering the ASG temporarily sets the ASG output to 0. If this is the intended behaviour it should just be documented.

This isn't necessarily the wrong thing to do, but it was a little weird to debug. A nice workaround if the asg shouldn't jump to zero was to set the trigger mode of the ASG to 'ext_positive_edge' and set the trigger pin to an output and sw toggle the trigger pin. We were implementing this to avoid sudden jumps in the setpoint and enforce maximum setpoint changes and maximum setpoint slope changes.