diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-14 22:57:04 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-14 22:57:04 -0400 |
commit | 02ae04f10451b91ab711c0bd1569ed80f82d98d3 (patch) | |
tree | 8dbd8035abed2e360a2aa44b0446589eeb13dddc | |
parent | 1f78e7d5fdc4d48f82298a9bd5184c66e9cb1ddd (diff) | |
download | qolab-02ae04f10451b91ab711c0bd1569ed80f82d98d3.tar.gz qolab-02ae04f10451b91ab711c0bd1569ed80f82d98d3.zip |
move start of gui sweeper close to the end of initialiazation
-rw-r--r-- | eitControl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eitControl.py b/eitControl.py index 22c4534..40fa25f 100644 --- a/eitControl.py +++ b/eitControl.py @@ -36,7 +36,6 @@ class Experiment: self.clearData() self.guiSetup(root) self.guiSweeper = Sweeper(self.root, Npoints=10, SweepTime=1, onTicCallbacks=[self.updatePlot]) - self.guiSweeper.cmdStart() self.hardware = {} self.sweeper = Sweeper(self.root, Npoints=500, SweepTime=10, onTicCallbacks=[self.onTic]) self.funcGen = TriangleGen(0, 5, sweeper = self.sweeper) @@ -47,6 +46,9 @@ class Experiment: self.rfGenFunc = RampGen(fCent-fSpan/2, fCent+fSpan/2, sweeper = self.sweeper) self.hardwareSetup(args) + # now we ready to do gui + self.guiSweeper.cmdStart() + def hardwareSetup(self,args): if args.test: |