Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user