From 55150ebdbba9906f568c382126ef0ff7dc1c05a7 Mon Sep 17 00:00:00 2001 From: occheung Date: Mon, 18 Sep 2023 19:52:22 -0700 Subject: [PATCH] shuttler: fix calibration channel target --- artiq/coredevice/shuttler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/coredevice/shuttler.py b/artiq/coredevice/shuttler.py index 5c5be0d34..34c6afda7 100644 --- a/artiq/coredevice/shuttler.py +++ b/artiq/coredevice/shuttler.py @@ -224,8 +224,7 @@ class ADC: volts[ch].set_waveform( shuttler_volt_to_mu(samples[i]), 0, 0, 0) trigger.trigger(1 << ch) - delay(1*us) - measurements[i] = self.read_ch(ch ^ 1) + measurements[i] = self.read_ch(ch) # Find the average output slope print(measurements)