From 8eddafb1a111c5935b2c59db7a8daf0f1335f7cb Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 15 Dec 2021 16:41:41 -0500 Subject: added some debug outputs --- examples/lock_eit.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3