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