Commit 5e5b7fac authored by Matthieu Cattin's avatar Matthieu Cattin

Swap parameters for select_output_ch function due to change in calibr_box class.

parent a5bb06b3
......@@ -125,17 +125,17 @@ def main (default_directory = '.'):
# Calibration box version 2
for i in range(NB_CHANNELS):
box.select_output_ch('10V', i+1)
box.select_output_ch(i+1, '10V')
print "Channel %d = AWG, others = 10V Vref"%(i+1)
raw_input('Press ENTER to continue...')
for i in range(NB_CHANNELS):
box.select_output_ch('1V', i+1)
box.select_output_ch(i+1, '1V')
print "Channel %d = AWG, others = 1V Vref"%(i+1)
raw_input('Press ENTER to continue...')
for i in range(NB_CHANNELS):
box.select_output_ch('100mV', i+1)
box.select_output_ch(i+1, '100mV')
print "Channel %d = AWG, others = 100mV Vref"%(i+1)
raw_input('Press ENTER to continue...')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment