diff options
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r-- | examples/lock_eit.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index de87de0..5dd8ceb 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -72,6 +72,7 @@ def updateLogPlot(apparatus): plt.clf() log.plot() plt.pause(.0001) + print(f're-plotting') def updateLogPlotLoop(apparatus): while True: @@ -84,6 +85,13 @@ def updateLogFile(apparatus): logFileName = apparatus.logFileName if logFileName is not None: log.save(logFileName, item_format='.15e') + print(f'Saving to {logFileName}') + +def updateLogFileLoop(apparatus): + while True: + updateLogFile(apparatus) + if not apparatus.runStatus: + break freqZero = 6834687190 |