From 106d25b32a24bd41994f31c1e7ab9eb02e58ff37 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 21 Dec 2019 14:17:52 +0800 Subject: [PATCH] kasli_sawgmaster: fix drtio_is_up --- artiq/examples/kasli_sawgmaster/repository/sines_2sayma.py | 2 +- .../examples/kasli_sawgmaster/repository/sines_urukul_sayma.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/examples/kasli_sawgmaster/repository/sines_2sayma.py b/artiq/examples/kasli_sawgmaster/repository/sines_2sayma.py index fab0c3693..3a8204941 100644 --- a/artiq/examples/kasli_sawgmaster/repository/sines_2sayma.py +++ b/artiq/examples/kasli_sawgmaster/repository/sines_2sayma.py @@ -8,7 +8,7 @@ class Sines2Sayma(EnvExperiment): @kernel def drtio_is_up(self): - for i in range(3): + for i in range(5): if not self.core.get_rtio_destination_status(i): return False return True diff --git a/artiq/examples/kasli_sawgmaster/repository/sines_urukul_sayma.py b/artiq/examples/kasli_sawgmaster/repository/sines_urukul_sayma.py index af43db1c1..b0a8f466c 100644 --- a/artiq/examples/kasli_sawgmaster/repository/sines_urukul_sayma.py +++ b/artiq/examples/kasli_sawgmaster/repository/sines_urukul_sayma.py @@ -23,7 +23,7 @@ class SinesUrukulSayma(EnvExperiment): @kernel def drtio_is_up(self): - for i in range(2): + for i in range(3): if not self.core.get_rtio_destination_status(i): return False return True