forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 2 deletions

View File

@ -224,8 +224,7 @@ class ADC:
volts[ch].set_waveform( volts[ch].set_waveform(
shuttler_volt_to_mu(samples[i]), 0, 0, 0) shuttler_volt_to_mu(samples[i]), 0, 0, 0)
trigger.trigger(1 << ch) trigger.trigger(1 << ch)
delay(1*us) measurements[i] = self.read_ch(ch)
measurements[i] = self.read_ch(ch ^ 1)
# Find the average output slope # Find the average output slope
print(measurements) print(measurements)