forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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: :: 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(): def print_underflow():