################################################################################################### # Area Scan: Multiple positioners, each one is one dimension. ################################################################################################### # Scan parameters Y_start = -1.0 Z_start = 10.60 Y_end = 1.0 Z_end = 12.6 Y_steps = 32 Z_steps = 32 # NPLC (integration time) value for the Keithleys NPLC=10 caput('X11MA-KEI10:NPLC', NPLC) caput('X11MA-KEI11:NPLC', NPLC) caput('X11MA-KEI12:NPLC', NPLC) # move Y and Z motors to start position TRY.write(Y_start) TRZ.write(Z_start) time.sleep(5) # run the area scan r1 = ascan((TRY,TRZ), (Keithley_1_raw,Keithley_2_raw,Keithley_3_raw), (Y_start,Z_start), (Y_end,Z_end), (Y_steps-1,Z_steps-1), 1.0, False, 1, True)