2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

shuttler: fix calibration channel target

This commit is contained in:
occheung 2023-09-18 19:52:22 -07:00 committed by Sébastien Bourdeauducq
parent eb08c55abe
commit 55150ebdbb

View File

@ -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)