diff options
Diffstat (limited to 'examples/lock_eit.py')
-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) |