################################################################################################### # Area Scan: Multiple positioners, each one is one dimension. ################################################################################################### # Scan parameters Y_start = -1.0 Z_start = 9.0 Y_end = 1.0 Z_end = 12.0 Y_steps = 8 Z_steps = 8 # 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) cawait(TRY_RBV,Y_start) cawait(TRZ_RBV,Z_start) # 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), 3.0, False, 1, True)