From ac90a3fe098d7c886361ddcdcb8f05b5af3988c0 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 19 Dec 2021 00:20:20 -0500 Subject: autosave loop moved to gui controls --- examples/lock_eit.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'examples/lock_eit.py') diff --git a/examples/lock_eit.py b/examples/lock_eit.py index 4156c09..9753a1e 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -71,21 +71,6 @@ def adjustRFandLog(apparatus): log.addPointToTrace(freq0, "frequency") log.addPointToTrace(fdbck, "feedback") -def updateLogFile(apparatus): - log = apparatus.log - logFileName = apparatus.logFileName - if logFileName is not None: - log.save(logFileName, item_format='.15e') - # print(f'Saving to {logFileName}') - - -async def updateLogFileLoop(apparatus): - while True: - updateLogFile(apparatus) - if not apparatus.runStatus: - break - await asyncio.sleep(10) - freqZero = 6834686400 freqDeltaM2 = 6835387100 -- cgit v1.2.3