def stop(self, abort=False): ## Stop DAQ first #print "Stop camera task" DAQGenericTask.stop(self, abort=abort) with self.lock: self.stopRecording = True if 'popState' in self.camCmd: self.dev.popState(self.camCmd['popState']) ## restores previous settings, stops/restarts camera if needed
def stop(self, abort=False): ## Stop DAQ first #print "Stop camera task" DAQGenericTask.stop(self, abort=abort) with self.lock: self.stopRecording = True self._stopTime = time.time() if 'popState' in self.camCmd: self.dev.popState(self.camCmd['popState']) ## restores previous settings, stops/restarts camera if needed
def stop(self, abort=False): DAQGenericTask.stop(self, abort)