Skip to content
Snippets Groups Projects
Commit d0f6a5c7 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

chore: remove debug output

parent 6f22bacf
No related branches found
No related tags found
No related merge requests found
...@@ -162,17 +162,13 @@ class MeasurementPlot: ...@@ -162,17 +162,13 @@ class MeasurementPlot:
def drawing_loop(self): def drawing_loop(self):
while True: while True:
print('drawing loop getting')
data_frame, pdf_name, stop_drawing = self.data_queue.get() data_frame, pdf_name, stop_drawing = self.data_queue.get()
print('drawing loop got. stop is ' +str(stop_drawing))
if stop_drawing: if stop_drawing:
return return
print('drawing loop drawing')
try: try:
if not process_sync.stop_measurement.is_set(): if not process_sync.stop_measurement.is_set():
self.draw_in_this_thread(data_frame, pdf_name='') self.draw_in_this_thread(data_frame, pdf_name='')
except Exception as e: except Exception as e:
print('caught exception when drawing: '+str(e))
# Don't exit here. Always drain the data queue so the program can terminate correctly # Don't exit here. Always drain the data queue so the program can terminate correctly
process_sync.stop_measurement.set() process_sync.stop_measurement.set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment