aboutsummaryrefslogtreecommitdiff
path: root/eitControl.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-24 23:45:41 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-24 23:45:41 -0400
commit669d51b89e330b7f1b1b199275cc69ed2d9c850d (patch)
tree31ee1bad1fd71cb2e4ea7b18bcd3bb6abe20124a /eitControl.py
parent1a53f59076b4d8ff4c22a65875c58fc5525e648f (diff)
downloadqolab-669d51b89e330b7f1b1b199275cc69ed2d9c850d.tar.gz
qolab-669d51b89e330b7f1b1b199275cc69ed2d9c850d.zip
RF config settings updated from gui control
Diffstat (limited to 'eitControl.py')
-rw-r--r--eitControl.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/eitControl.py b/eitControl.py
index 0036f52..8c31e88 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -123,11 +123,15 @@ class Experiment:
def centralFreqValueChanged(self, sb):
- self.rfGenFunc.setCenter(sb.value())
+ v=sb.value()
+ self.config['RF']['central_frequency'] = str(v)
+ self.rfGenFunc.setCenter(v)
pass
def freqSpanValueChanged(self, sb):
- self.rfGenFunc.setSpan(sb.value())
+ v=sb.value()
+ self.config['RF']['frequency_span'] = str(v)
+ self.rfGenFunc.setSpan(v)
pass
def guiSetup(self, root):