code: def init_process(self):
          
          self.device = Device.objects.filter(protocol__daq_daemon=1, active=1, id=self.device_id).first()
          if not self.device:
              logger.error("Error init_process for %s" % self.device_id)
              return False
          self.dt_set = min(self.dt_set, self.device.polling_interval)
          self.dt_query_data = self.device.polling_interval
          try:
              self.device = self.device.get_device_instance()
          except:
              var = traceback.format_exc()
              logger.error("exception while initialisation of DAQ Process for Device %d %s %s" % (
                  self.device_id, linesep, var))
  
          return True
docs: init a standard daq process for a single device