diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-24 23:45:41 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-24 23:45:41 -0400 |
commit | 669d51b89e330b7f1b1b199275cc69ed2d9c850d (patch) | |
tree | 31ee1bad1fd71cb2e4ea7b18bcd3bb6abe20124a /eitControl.py | |
parent | 1a53f59076b4d8ff4c22a65875c58fc5525e648f (diff) | |
download | qolab-669d51b89e330b7f1b1b199275cc69ed2d9c850d.tar.gz qolab-669d51b89e330b7f1b1b199275cc69ed2d9c850d.zip |
RF config settings updated from gui control
Diffstat (limited to 'eitControl.py')
-rw-r--r-- | eitControl.py | 8 |
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): |