Script execution
This commit is contained in:
@@ -12,9 +12,6 @@ ZIGZAG = False
|
||||
ENDSCAN = False
|
||||
START_POS = 0.0
|
||||
|
||||
adjust_sensors()
|
||||
set_adc_averaging()
|
||||
|
||||
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent)
|
||||
MOTORS = ManipulatorY
|
||||
RANGE = (START_POS + 5., START_POS - 5.)
|
||||
@@ -33,6 +30,9 @@ print "speed: ", SPEED
|
||||
print "scan time: ", fly_time
|
||||
|
||||
set_exec_pars(keep=True)
|
||||
adjust_sensors()
|
||||
set_adc_averaging()
|
||||
|
||||
result = cscan(MOTORS, SENSORS, RANGE[0], RANGE[1], STEPS, time=fly_time, before_read=before_readout, after_read = after_readout, check_positions = False)
|
||||
|
||||
readable = result.getReadable(0)
|
||||
|
||||
Reference in New Issue
Block a user