Script execution

This commit is contained in:
gac-x03da
2023-07-10 02:04:43 +02:00
parent 3a02936ea6
commit 07dddc063d

View File

@@ -5,10 +5,10 @@ Keithley voltage scan
POSITIONERS = (Keithley1Voltage)
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix,ManipulatorTempA)
POSITIONS = (50,-50)
POSITIONS = (70,-70)
STEPS = 2
STEPS = 10.0
LATENCY = 0
@@ -19,8 +19,10 @@ set_adc_averaging()
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
set_exec_pars(compression=True)
i = 0
while i < 200:
i+=1
lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout)
#i = 0
#while i < 200:
# i+=1
# lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout)
# after_scan()
lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout)