Startup
This commit is contained in:
29
script/users/ManipZExposureScan.py
Normal file
29
script/users/ManipZExposureScan.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""
|
||||
manipulator Z scan, no Scienta
|
||||
"""
|
||||
|
||||
POSITIONERS = (ManipulatorZ)
|
||||
SENSORS = (SampleCurrent, RefCurrent, AuxCurrent, MachineCurrent)
|
||||
STARTPOS = (113.15)
|
||||
ENDPOS = (117.15)
|
||||
NUMPOS = 40
|
||||
STEPSIZE = 0.1
|
||||
LATENCY = 0.0
|
||||
DWELL = 14 * 3600 / 40
|
||||
ENDSCAN = True # close shutter at end
|
||||
|
||||
value = DWELL * 10.0
|
||||
SampleCurrentAveraging.write(value)
|
||||
RefCurrentAveraging.write(value)
|
||||
AuxCurrentAveraging.write(value)
|
||||
AuxVoltageAveraging.write(value)
|
||||
|
||||
def trig():
|
||||
wait_beam()
|
||||
caput("X03DA-OP-10ADC:TRG.PROC", 1)
|
||||
|
||||
try:
|
||||
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