From d96dc11b25d913ba5d30eb9d46462c73302aa60e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 6 Oct 2023 14:41:26 +0800 Subject: [PATCH] shuttler: use scheduler --- artiq/examples/kasli_shuttler/repository/shuttler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/examples/kasli_shuttler/repository/shuttler.py b/artiq/examples/kasli_shuttler/repository/shuttler.py index 9a0b4e517..730573d95 100644 --- a/artiq/examples/kasli_shuttler/repository/shuttler.py +++ b/artiq/examples/kasli_shuttler/repository/shuttler.py @@ -101,8 +101,7 @@ class Shuttler(EnvExperiment): print_rpc("Example Waveforms are on OUT0 and OUT1") self.core.break_realtime() - #while not(self.scheduler.check_termination()): - while True: + while not(self.scheduler.check_termination()): self.core.delay(1.*s) self.example_waveform()