diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index 0c10d12..13f03d3 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -245,13 +245,15 @@ async def record_magnetometer_noise(apparatus): scope.setConfig(old_config) async def longTermLock(apparatus, extra_tags={}): - ai = apparatus.instruments - rfPout = apparatus.getRFAmplitude() apparatus.state = f'Long term lock RF power {rfPout} dBm' logger.info(apparatus.state) - apparatus.gui_log.setTraces( initLog(extra_tags=extra_tags) ) + + ai = apparatus.instruments + rfPout = apparatus.getRFAmplitude() apparatus.runStatus = True ai['pid'].setEnable(True) + + apparatus.gui_log.setTraces( initLog(extra_tags=extra_tags) ) update_webpage(apparatus=apparatus) res = await asyncio.gather( |