diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-15 16:41:41 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-15 16:41:41 -0500 |
commit | 8eddafb1a111c5935b2c59db7a8daf0f1335f7cb (patch) | |
tree | 1704b8286bfa98f26b2da9df04e02b382ec2a5e0 /examples | |
parent | 7bc86375cc79c0d7aa4485677ee92778d53dc8c9 (diff) | |
download | qolab-8eddafb1a111c5935b2c59db7a8daf0f1335f7cb.tar.gz qolab-8eddafb1a111c5935b2c59db7a8daf0f1335f7cb.zip |
added some debug outputs
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index c29f1df..706acdd 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -137,7 +137,7 @@ async def main(): apparatus.rfgen.setFreqFixed(freqDeltaM2+100) - # initial lock + print('initial lock') apparatus.logFileName = None apparatus.pid.reset() apparatus.runStatus = True @@ -146,14 +146,14 @@ async def main(): print(apparatus.logFileName) updateLogPlot(apparatus) - # long term lock + print('long term lock') apparatus.log = initLog() apparatus.logFileName = None apparatus.logFileName = apparatus.getNextDataFile() - # apparatus.pid.reset() + apparatus.pid.reset() apparatus.runStatus = True # feedbackLoop(apparatus, nsteps=100) - res = await asyncio.gather( feedbackLoop(apparatus, nsteps=1000), updateLogPlotLoop(apparatus), updateLogFileLoop(apparatus) ) + res = await asyncio.gather( feedbackLoop(apparatus, nsteps=10000), updateLogPlotLoop(apparatus), updateLogFileLoop(apparatus) ) print(apparatus.logFileName) updateLogPlot(apparatus) |