From 6ed88216a88eded4298615d33fa1ff7f96bc1417 Mon Sep 17 00:00:00 2001 From: x03daop Date: Mon, 2 Nov 2015 17:16:47 +0100 Subject: [PATCH] Closedown --- script/XPSSpectrum.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/XPSSpectrum.py b/script/XPSSpectrum.py index 0e54ff4a..0e64f920 100644 --- a/script/XPSSpectrum.py +++ b/script/XPSSpectrum.py @@ -25,8 +25,8 @@ try: for cur_range in range(len(ranges)): cur_iteration = 0 skip_iteration = False - Scienta.lowEnergy.put(ranges[cur_range].min) - Scienta.highEnergy.put(ranges[cur_range].max) + Scienta.lowEnergy.write(ranges[cur_range].min) + Scienta.highEnergy.write(ranges[cur_range].max) Scienta.update() vars = ranges[cur_range].vars @@ -67,7 +67,8 @@ try: set_attribute(path, "Pass Energy",pass_energy) set_attribute(path, "Iterations",cur_iteration+1) - AfterReadout() + create_diag_datasets(path) + append_diag_datasets(path) finally: