Script execution
This commit is contained in:
@@ -10,17 +10,15 @@ move manipulator and mirror to center position before start!
|
||||
import math
|
||||
|
||||
# adjust the following parameters
|
||||
STEPS = 25
|
||||
STEPS = 20
|
||||
LATENCY = 0.0
|
||||
ENDSCAN = False
|
||||
|
||||
# do not edit below
|
||||
|
||||
MOTOR = (RefocusYTrans, ManipulatorZ)
|
||||
MOTORS = (RefocusYTrans, ManipulatorZ)
|
||||
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution)
|
||||
|
||||
STARTPOS = (9.260, 115.1)
|
||||
ENDPOS = (9.160, 115.3)
|
||||
STARTPOS = (9.060, 115.55)
|
||||
ENDPOS = (9.460, 114.90)
|
||||
RELATIVE = False
|
||||
|
||||
adjust_sensors()
|
||||
@@ -28,8 +26,8 @@ set_adc_averaging()
|
||||
|
||||
def trig_sensors():
|
||||
wait_beam()
|
||||
trig_scienta()
|
||||
caput("X03DA-OP-10ADC:TRG.PROC", 1)
|
||||
trig_scienta()
|
||||
|
||||
try:
|
||||
lscan(MOTOR, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=trig_sensors, after_read = after_readout)
|
||||
|
||||
Reference in New Issue
Block a user