Script execution

This commit is contained in:
gac-x03da
2019-05-01 11:07:39 +02:00
parent e3d9acd88e
commit 8f5ad83219
+2 -3
View File
@@ -11,7 +11,6 @@ SENSORS = (SampleCurrent,RefCurrent, MachineCurrent)
STARTPOS = (0.5)
ENDPOS = (-0.5)
STEPS = -0.01
LATENCY = 0.1
DWELL = 0.1
TOTAL_TIME = 50
@@ -23,7 +22,7 @@ def trig():
time.sleep(DWELL * 1.1)
#caput(KEI_RMU + "DOFETCH", 1)
set_adc_averaging(dwelltime=DWELL)
#set_adc_averaging(dwelltime=DWELL)
#set_exec_pars(compression=True, shuffle=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)
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=TOTAL_TIME, after_read=after_readout)