Script execution

This commit is contained in:
gac-x03da
2021-01-22 12:43:37 +01:00
parent c78dca3f31
commit feee1d755c

View File

@@ -13,8 +13,8 @@ ENDPOS = (0.0)
#STEPS = -0.01
DWELL = 0.1
TOTAL_TIME = 120
STEPS = int(TOTAL_TIME / DWELL) + 1
#STEPS = 200
#STEPS = int(TOTAL_TIME / DWELL) + 1
STEPS = 100
def trig():
#wait_beam()
@@ -27,5 +27,5 @@ def trig():
#set_adc_averaging(dwelltime=DWELL)
#set_exec_pars(compression=True, shuffle=True)
set_exec_pars(compression=True)
#lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=TOTAL_TIME, before_read=trig, after_read=after_readout, check_positions = False)
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
#cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=TOTAL_TIME, before_read=trig, after_read=after_readout, check_positions = False)