""" Diode scan """ asd #Execute the scan: 200 steps, a1 from 0 to 40 a= lscan(ao1, (diode,current), 0, 40, 200, 0.01)