示例#1
0
 def loop(self):
     if self.main.userTrig:
         self.main.userTrig = False
         self.main.changedF()  # just register set
         self.doSimpleRx()
         IrisUtil.Interface_UpdateUserGraph(
             self, self.correlationSampes)  # update to user graph
示例#2
0
 def loop(self):
     if self.main.userTrig:
         if not self.running:
             self.main.userTrig = False
             self.main.changedF()  # just register set
             self.prepareReceive()
     if self.running:
         finished = self.run()
         if finished or time.time() - self.lastTime >= self.showIntervalS:
             self.lastTime = time.time()
             IrisUtil.Interface_UpdateUserGraph(self, uselast=True)  # update to user graph, use the last few data but not the head
示例#3
0
 def loop(self):
     if self.main.userTrig:
         self.main.userTrig = False
         self.main.changedF()  # just register set
         self.doSimpleShow()
         IrisUtil.Interface_UpdateUserGraph(self)  # update to user graph