Script execution
This commit is contained in:
1 parent
9f19a94b4a
commit
fe985fb655
1 file changed
+9
-1
@@ -12,6 +12,14 @@ STEPS = 0.01
|
||||
LATENCY = 0.1
|
||||
DWELL = 1.0
|
||||
|
||||
def trig():
|
||||
wait_beam()
|
||||
#caput(KEI_RMU + "DOINIT", 1)
|
||||
#time.sleep(0.1)
|
||||
#caput(KEI_RMU + "DOTRIGGER", 1)
|
||||
time.sleep(DWELL * 1.1)
|
||||
#caput(KEI_RMU + "DOFETCH", 1)
|
||||
|
||||
set_adc_averaging(dwelltime=DWELL)
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=before_readout, after_read=after_readout)
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
|
||||
Reference in new issue
Block a user