diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-19 00:20:20 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-19 00:20:20 -0500 |
commit | ac90a3fe098d7c886361ddcdcb8f05b5af3988c0 (patch) | |
tree | c930ef69fbe3c41dbc754900cbb57d5bd8425948 /examples | |
parent | 6f0db786def1d1aad6dde896f2bb058e5bb9f3a9 (diff) | |
download | qolab-ac90a3fe098d7c886361ddcdcb8f05b5af3988c0.tar.gz qolab-ac90a3fe098d7c886361ddcdcb8f05b5af3988c0.zip |
autosave loop moved to gui controls
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 15 |
1 files changed, 0 insertions, 15 deletions
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 |