コード例 #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
ファイル: MockClamp.py プロジェクト: neurodebian/acq4
 def quit(self):
     #self.process.send(None)
     self.process.close()
     DAQGeneric.quit(self)
コード例 #4
0
ファイル: MockClamp.py プロジェクト: outofculture/acq4
 def quit(self):
     #self.process.send(None)
     self.process.close()
     DAQGeneric.quit(self)