diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-03 22:22:04 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-03 22:22:04 -0500 |
commit | d2cc18f02ba808100f43a387ae6d8ee535685633 (patch) | |
tree | 63390819eb9c2fefa22427d07895b4bf60e48605 | |
parent | ba486c43ce8d933cc0a53533e8feb680b7d47741 (diff) | |
download | qolab-d2cc18f02ba808100f43a387ae6d8ee535685633.tar.gz qolab-d2cc18f02ba808100f43a387ae6d8ee535685633.zip |
removet getBCurrent it is inside lock and log loop
-rw-r--r-- | examples/lock_eit.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py index f14713c..b0c6e59 100644 --- a/examples/lock_eit.py +++ b/examples/lock_eit.py @@ -161,8 +161,6 @@ async def calibratingLockin(apparatus, extra_tags={}): logger.info(f'dE = {dE}') logger.info(f'lockin error signal slope = {slope} V/Hz') - apparatus.getBCurrent(); # this automatically logs value to TSDB - return float(slope) async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}): @@ -176,7 +174,6 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}): apparatus.gui_log.setTraces( initLog(extra_tags=extra_tags) ) dV = 0.01 ai['lockin'].AuxOut1=dV - apparatus.getBCurrent(); # this automatically logs value to TSDB # initial lock ai['pid'].setEnable(True) @@ -191,7 +188,6 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}): ) fr0 = ai['rfgen'].getFreqFixed() - apparatus.getBCurrent(); # this automatically logs value to TSDB # this is for the money lock ai['lockin'].AuxOut1=0 @@ -211,8 +207,6 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}): logger.info(f'df = {df}') logger.info(f'response to magnetic control voltage = {slope} Hz/V') - apparatus.getBCurrent(); # this automatically logs value to TSDB - # relock to default state ai['lockin'].AuxOut1=0 ai['pid'].setEnable(True) |