Closedown
This commit is contained in:
@@ -4,9 +4,9 @@ exit slit test scan
|
||||
|
||||
POSITIONERS = (ExitSlit)
|
||||
SENSORS = (SampleCurrent, RefCurrent, AuxCurrent, MachineCurrent)
|
||||
STARTPOS = (200.0)
|
||||
ENDPOS = (0.0)
|
||||
STEPS = -10.0
|
||||
STARTPOS = (0.0)
|
||||
ENDPOS = (200.0)
|
||||
STEPS = 10.0
|
||||
LATENCY = 0.1
|
||||
DWELL = 1.0
|
||||
|
||||
@@ -20,3 +20,9 @@ def trig():
|
||||
caput("X03DA-OP-10ADC:TRG.PROC", 1)
|
||||
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
|
||||
STARTPOS = (200.0)
|
||||
ENDPOS = (0.0)
|
||||
STEPS = -10.0
|
||||
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
|
||||
@@ -3,10 +3,11 @@ XAS scan
|
||||
"""
|
||||
|
||||
POSITIONERS = (Eph)
|
||||
SENSORS = (SampleCurrent, RefCurrent, AuxCurrent, MachineCurrent)
|
||||
SENSORS = (SampleCurrent, RefCurrent, AuxCurrent, MachineCurrent, OpticsCameraCentroidX, OpticsCameraSigmaX)
|
||||
STARTPOS = (100.0)
|
||||
ENDPOS = (2000.0)
|
||||
NUMPOINTS = 77
|
||||
#NUMPOINTS = 76
|
||||
STEPSIZE = 25.0
|
||||
LATENCY = 1.0
|
||||
DWELL = 1.0
|
||||
ENDSCAN = True # close shutter at end
|
||||
@@ -21,7 +22,7 @@ def trig():
|
||||
caput("X03DA-OP-10ADC:TRG.PROC", 1)
|
||||
|
||||
try:
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, NUMPOINTS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPSIZE, LATENCY, before_read=trig, after_read=after_readout)
|
||||
finally:
|
||||
if ENDSCAN:
|
||||
after_scan()
|
||||
|
||||
Reference in New Issue
Block a user