From 669d51b89e330b7f1b1b199275cc69ed2d9c850d Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 24 Jun 2021 23:45:41 -0400 Subject: RF config settings updated from gui control --- eitControl.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'eitControl.py') 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): -- cgit v1.2.3