From 79dfcb225efd4af004792df8bd976ebea9a4ba97 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Sun, 9 Jul 2023 23:49:53 +0200 Subject: [PATCH] Script execution --- script/KeithleyVoltageScan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/KeithleyVoltageScan.py b/script/KeithleyVoltageScan.py index 35b3cf4e..b43a7d40 100644 --- a/script/KeithleyVoltageScan.py +++ b/script/KeithleyVoltageScan.py @@ -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()