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

close online window before showing final plot

parent 04e6f635
No related branches found
Tags 00.08.00
No related merge requests found
......@@ -62,6 +62,7 @@ class Measurements:
self.vna.create_new_trace("Trace4", "S22")
self.measurement_plot = MeasurementPlot.MeasurementPlot()
self.data_collection = []
def perform_measurements(self):
with open(self.output, mode='w', newline='') as csv_file:
......@@ -191,6 +192,8 @@ class Measurements:
writer.writerow(measurement)
plt.close()
except KeyboardInterrupt:
pass
......
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