From 29f684518cdd51637f815637dd6402bb8146bc6a Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Mon, 10 Jul 2023 06:47:06 +0200 Subject: [PATCH] Script execution --- script/KeithleyVoltageScan.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/script/KeithleyVoltageScan.py b/script/KeithleyVoltageScan.py index 32bf15ed..d8c2d16c 100644 --- a/script/KeithleyVoltageScan.py +++ b/script/KeithleyVoltageScan.py @@ -5,10 +5,10 @@ Keithley voltage scan POSITIONERS = (Keithley1Voltage) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix,ManipulatorTempA) -POSITIONS = (70,-70) +POSITIONS = (50,-50) -STEPS = 10.0 -#STEPS = 2 +#STEPS = 10.0 +STEPS = 2 LATENCY = 0 @@ -19,10 +19,10 @@ set_adc_averaging() set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) set_exec_pars(compression=True) -#i = 0 -#while i < 400: -# i+=1 -# lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout) +i = 0 +while i < 400: + 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) +#lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout)