diff --git a/script/KeithleyVoltageScan.py b/script/KeithleyVoltageScan.py index 5fdb50cf..1481d25b 100644 --- a/script/KeithleyVoltageScan.py +++ b/script/KeithleyVoltageScan.py @@ -3,7 +3,7 @@ Keithley voltage scan """ -POSITIONERS = (Keithley1Voltage)*2 +POSITIONERS = (Keithley1Voltage) SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix,ManipulatorTempA) POSITIONS = (10,-10) @@ -19,6 +19,7 @@ set_adc_averaging() set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) set_exec_pars(compression=True) -lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout) +while true: + lscan(POSITIONERS,SENSORS,POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read = before_readout, after_read = after_readout) # after_scan()