diff --git a/doc/manual/getting_started_core.rst b/doc/manual/getting_started_core.rst index 8671f62c3..49f850cfe 100644 --- a/doc/manual/getting_started_core.rst +++ b/doc/manual/getting_started_core.rst @@ -95,6 +95,7 @@ Create a new file ``rtio.py`` containing the following: :: from artiq import * + class Tutorial(EnvExperiment): def build(self): self.attr_device("core") @@ -115,6 +116,7 @@ Try reducing the period of the generated waveform until the CPU cannot keep up w from artiq.coredevice.runtime_exceptions import RTIOUnderflow + def print_underflow(): print("RTIO underflow occured") diff --git a/examples/master/repository/speed_benchmark.py b/examples/master/repository/speed_benchmark.py index d2084d243..6face8d55 100644 --- a/examples/master/repository/speed_benchmark.py +++ b/examples/master/repository/speed_benchmark.py @@ -115,7 +115,6 @@ class SpeedBenchmark(EnvExperiment): (end_time-start_time)/self.nruns, realtime=True) - def run(self): if self.mode == "Single experiment": self.run_without_scheduler(False)