Closedown

This commit is contained in:
x03daop
2016-12-22 15:52:41 +01:00
parent b05ae21305
commit 1c18b78ebb
7 changed files with 14 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ spectrum_series = plots[0].getSeries(0)
def plot_cur_spectrum():
global spectrum_series
try:
while controller.state.running:
while context.state.running:
y = Scienta.spectrum.take(100)
x = Scienta.spectrumX
spectrum_series.setData(x, y)