Script execution

This commit is contained in:
gac-x03da
2019-08-12 15:57:30 +02:00
parent bd462528c4
commit 113ea25007

View File

@@ -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)