Script execution

This commit is contained in:
x03daop
2016-05-25 14:50:03 +02:00
parent aba3693293
commit 851fe959f9
+4 -3
View File
@@ -17,12 +17,13 @@ ZIGZAG = True
# do not edit below
MOTORS = (ManipulatorY, ManipulatorZ)
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
STARTPOS = (-0.25, 0.25)
ENDPOS = (-0.25, 0.25)
RELATIVE = True
STARTPOS = (-0.10-0.25, 115.20-0.25)
ENDPOS = (-0.10+0.25, 115.20+0.25)
RELATIVE = False
adjust_sensors()
set_adc_averaging()
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
try:
ascan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout)