예제 #1
0
파일: Camera.py 프로젝트: travis-open/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)
예제 #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)