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