From 87348b9c722005667eb695bd52ca23adbbc7e4f7 Mon Sep 17 00:00:00 2001 From: x03daop Date: Thu, 28 Jul 2016 14:44:06 +0200 Subject: [PATCH] Closedown --- script/XPSSpectrum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/XPSSpectrum.py b/script/XPSSpectrum.py index ed656f6f..425f3210 100644 --- a/script/XPSSpectrum.py +++ b/script/XPSSpectrum.py @@ -60,11 +60,11 @@ try: for cur_iteration in range(vars[2]): plots[cur_range+1].setTitle(str(ranges[cur_range]) + " - iteration " + str(cur_iteration+1)) while True: - #wait_beam() + wait_beam() trig_scienta() spectrum_array = Scienta.spectrum.read() spectrum_array[0]=10 - if True:#beam_ok: + if beam_ok: break if ydata is None: ydata = spectrum_array