From 07dddc063d5e7716b5d640e177edf71fcc0462a5 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Mon, 10 Jul 2023 02:04:43 +0200 Subject: [PATCH] Script execution --- script/KeithleyVoltageScan.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/script/KeithleyVoltageScan.py b/script/KeithleyVoltageScan.py index a17fd65f..d659ad63 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 = (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)