diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-21 23:35:38 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-21 23:35:38 -0500 |
commit | 911bbcaf9e4892c1811ab983fae770f6c8c53b60 (patch) | |
tree | 3a931e5819647236a661f1417abe8d05f63107f6 /examples | |
parent | 7c0c4d3ed5fe350ba132fab97ab9d4da33cc7aaf (diff) | |
download | qolab-911bbcaf9e4892c1811ab983fae770f6c8c53b60.tar.gz qolab-911bbcaf9e4892c1811ab983fae770f6c8c53b60.zip |
reducing PID gain
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 7 |
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) |