Script execution
This commit is contained in:
@@ -9,17 +9,17 @@ move manipulator to center position before start!
|
||||
|
||||
import math
|
||||
|
||||
STEPS = (8, 8)
|
||||
STEPS = (3, 3)
|
||||
LATENCY = 0.0
|
||||
ENDSCAN = False
|
||||
ZIGZAG = False
|
||||
ZIGZAG = True
|
||||
|
||||
# do not edit below
|
||||
MOTORS = (ManipulatorY, ManipulatorZ)
|
||||
SENSORS = (Counts,Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
|
||||
STARTPOS = (-0.50-0.5, 115.20-0.5)
|
||||
ENDPOS = (-0.50+0.5, 115.20+0.5)
|
||||
RELATIVE = False
|
||||
SENSORS = (Counts, Scienta.spectrum, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
|
||||
#SENSORS = (Counts, Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
|
||||
STARTPOS = (-0.5, -0.5)
|
||||
ENDPOS = (+0.5, +0.5)
|
||||
RELATIVE = True
|
||||
|
||||
adjust_sensors()
|
||||
set_adc_averaging()
|
||||
@@ -29,4 +29,5 @@ try:
|
||||
ascan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout)
|
||||
finally:
|
||||
if ENDSCAN:
|
||||
after_scan()
|
||||
after_scan()
|
||||
|
||||
Reference in New Issue
Block a user