mirror of https://github.com/m-labs/artiq.git
shuttler: fix calibration channel target
This commit is contained in:
parent
eb08c55abe
commit
55150ebdbb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue