aboutsummaryrefslogtreecommitdiff
path: root/examples/lock_eit.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r--examples/lock_eit.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index 2fbc249..4f88a34 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -136,7 +136,7 @@ async def initial_lock_to_eit(apparatus, extra_tags={}):
ai["pid"].reset()
ai["pid"].setEnable(True)
apparatus.runStatus = True
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=50))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=50))
async def calibratingLockin(apparatus, extra_tags={}):
@@ -148,14 +148,14 @@ async def calibratingLockin(apparatus, extra_tags={}):
ai["pid"].setEnable(False)
ai["pid"].reset()
apparatus.gui_log.setTraces(initLog(extra_tags=extra_tags))
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
fr0 = ai["rfgen"].getFreqFixed()
df = 10
ai["pid"].setEnable(False)
ai["pid"].reset()
apparatus.setRFreq(fr0 + df)
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
apparatus.setRFreq(fr0)
log = apparatus.gui_log.traces
@@ -191,10 +191,10 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}):
# initial lock
ai["pid"].setEnable(True)
ai["pid"].reset()
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
# this is for the money lock
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=30))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=30))
fr0 = ai["rfgen"].getFreqFixed()
@@ -202,7 +202,7 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}):
ai["lockin"].AuxOut1 = 0
ai["pid"].setEnable(True)
ai["pid"].reset()
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=30))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=30))
fr1 = ai["rfgen"].getFreqFixed()
# log = apparatus.gui_log.traces
@@ -219,7 +219,7 @@ async def responseToChangeOfBfieldControlVoltage(apparatus, extra_tags={}):
ai["lockin"].AuxOut1 = 0
ai["pid"].setEnable(True)
ai["pid"].reset()
- res = await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
+ await asyncio.gather(feedbackLoop(apparatus, nsteps=20))
return float(slope)
@@ -423,11 +423,11 @@ async def main():
await initial_lock_to_eit(apparatus, extra_tags=extra_tags)
- lockin_slope = await calibratingLockin(apparatus, extra_tags=extra_tags)
+ await calibratingLockin(apparatus, extra_tags=extra_tags)
instruments_config.container = getConfig(apparatus)
instruments_config.display_container_dictionary()
- B_response = await responseToChangeOfBfieldControlVoltage(
+ await responseToChangeOfBfieldControlVoltage(
apparatus, extra_tags=extra_tags
)
instruments_config.container = getConfig(apparatus)