doc: update Underflow catching example

This commit is contained in:
Robert Jördens 2016-01-25 16:41:27 -07:00
parent e0f2d94191
commit 0d7dc7b144

View File

@ -114,7 +114,7 @@ Instead, inside the core device, output timing is generated by the gateware and
Try reducing the period of the generated waveform until the CPU cannot keep up with the generation of switching events and the underflow exception is raised. Then try catching it: ::
from artiq.coredevice.exceptions import RTIOUnderflow
from artiq.experiment import *
def print_underflow():