diff options
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): |