From c65520ab0184149e57d6d9c104e334055186fd67 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 16 Dec 2024 15:07:42 +0800 Subject: [PATCH] Fix suservo example Signed-off-by: Egor Savkin --- artiq/examples/kasli_suservo/repository/suservo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/examples/kasli_suservo/repository/suservo.py b/artiq/examples/kasli_suservo/repository/suservo.py index 7bc887030..291858521 100644 --- a/artiq/examples/kasli_suservo/repository/suservo.py +++ b/artiq/examples/kasli_suservo/repository/suservo.py @@ -36,7 +36,7 @@ class SUServo(EnvExperiment): self.suservo0.set_pgia_mu(i, 0) delay(10*us) # DDS attenuator - self.suservo0.cpld0.set_att(0, 10.) + self.suservo0.cplds[0].set_att(0, 10.) delay(1*us) # Servo is done and disabled assert self.suservo0.get_status() & 0xff == 2