aboutsummaryrefslogtreecommitdiff
path: root/examples/lock_eit.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-21 23:35:38 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-21 23:35:38 -0500
commit911bbcaf9e4892c1811ab983fae770f6c8c53b60 (patch)
tree3a931e5819647236a661f1417abe8d05f63107f6 /examples/lock_eit.py
parent7c0c4d3ed5fe350ba132fab97ab9d4da33cc7aaf (diff)
downloadpyExpControl-911bbcaf9e4892c1811ab983fae770f6c8c53b60.tar.gz
pyExpControl-911bbcaf9e4892c1811ab983fae770f6c8c53b60.zip
reducing PID gain
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r--examples/lock_eit.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index 3d77e68..71c9d6b 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -142,7 +142,8 @@ async def main():
print('------ Header ends -------------')
# ch1 = scope.getTrace(1)
# traces = scope.getAllTraces()
- pid = PID(100,400,0, sign=-1)
+ # pid = PID(100,400,0, sign=-1); # goom for dm=-2 resonance
+ pid = PID(50,200,0, sign=-1)
apparatus.instruments={}
ai = apparatus.instruments
@@ -156,9 +157,9 @@ async def main():
SweepSpan = 10000
ai['rfgen'].stopFrequencySweep()
- ai['rfgen'].setFreqFixed(freqDeltaMp2)
- # ai['rfgen'].setFreqFixed(freqZero)
# ai['rfgen'].setFreqFixed(freqDeltaMm2)
+ ai['rfgen'].setFreqFixed(freqZero)
+ # ai['rfgen'].setFreqFixed(freqDeltaMp2)
ai['rfgen'].setRFAmplitude(0)
d=getConfig(apparatus)