Script execution

This commit is contained in:
gac-x03da
2023-07-09 23:49:53 +02:00
parent fde24544ee
commit 79dfcb225e

View File

@@ -8,8 +8,8 @@ SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution
POSITIONS = (10,-10)
STEPS = 1
LATENCY = 1.0
STEPS = 2
LATENCY = 0
RELATIVE = False
@@ -20,7 +20,7 @@ set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
set_exec_pars(compression=True)
i = 0
while i < 10:
i+=1
while i < 2:
i+=1
lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout)
# after_scan()