From 44200465023abd5e08fb7de6060767e95868ec06 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 6 Jul 2018 15:43:38 +0800 Subject: [PATCH] kasli_tester: support mixed AD9910/AD9912 systems --- artiq/examples/kasli_basic/repository/kasli_tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/examples/kasli_basic/repository/kasli_tester.py b/artiq/examples/kasli_basic/repository/kasli_tester.py index d082e5bf2..a633ee02d 100644 --- a/artiq/examples/kasli_basic/repository/kasli_tester.py +++ b/artiq/examples/kasli_basic/repository/kasli_tester.py @@ -185,7 +185,7 @@ class KasliTester(EnvExperiment): while self.core.get_rtio_counter_mu() < t: pass for channel in channels: - channel.sw.pulse(100*ms) + channel.pulse(100*ms) delay(100*ms) # We assume that RTIO channels for switches are grouped by card. @@ -208,7 +208,7 @@ class KasliTester(EnvExperiment): input() print("Testing RF switch control. Press ENTER when done.") - self.rf_switch_wave([channel_dev for channel_name, channel_dev in self.urukuls]) + self.rf_switch_wave([channel_dev.sw for channel_name, channel_dev in self.urukuls]) @kernel def get_sampler_voltages(self, sampler, cb):