Closedown

This commit is contained in:
x03daop
2016-04-05 17:26:40 +02:00
parent 36bc8f9892
commit f588f10b66
4 changed files with 13 additions and 9 deletions

View File

@@ -56,8 +56,12 @@ try:
for cur_iteration in range(vars[2]):
plots[cur_range+1].setTitle(str(ranges[cur_range]) + " - iteration " + str(cur_iteration+1))
trig_scienta()
spectrum_array = Scienta.spectrum.read()
while True:
wait_beam()
trig_scienta()
spectrum_array = Scienta.spectrum.read()
if beam_ok:
break
if ydata is None:
ydata = spectrum_array
else: