示例#1
0
 def quit(self):
     #print "quit() called from Camera"
     if hasattr(self, 'acqThread') and self.isRunning():
         self.stop()
         if not self.wait(10000):
             raise Exception("Timed out while waiting for thread exit!")
     #self.cam.close()
     DAQGeneric.quit(self)
示例#2
0
文件: Camera.py 项目: hiuwo/acq4
 def quit(self):
     #print "quit() called from Camera"
     if hasattr(self, 'acqThread') and self.isRunning():
         self.stop()
         if not self.wait(10000):
             raise Exception("Timed out while waiting for thread exit!")
     #self.cam.close()
     DAQGeneric.quit(self)
示例#3
0
 def quit(self):
     #self.process.send(None)
     self.process.close()
     DAQGeneric.quit(self)
示例#4
0
 def quit(self):
     #self.process.send(None)
     self.process.close()
     DAQGeneric.quit(self)