def METHOD_NAME(self):
    AbstractDetector.METHOD_NAME(self)
    lima_device = self.get_property("lima_device", "")
    if not lima_device:
        return
    t = lima_device.split("/")
    t[-2] = "mask"
    mask_device = "/".join(t)
    try:
        for channel_name in (
            "latency_time",
            "State",
            "acq_status",
            "acq_trigger_mode",
            "saving_mode",
            "acq_nb_frames",
            "acq_expo_time",
            "saving_directory",
            "saving_prefix",
            "saving_suffix",
            "saving_next_number",
            "saving_index_format",
            "saving_format",
            "saving_overwrite_policy",
            "saving_header_delimiter",
            "saving_frame_per_file",
            "last_image_saved",
            "image_roi",
        ):
            self.add_channel(
                {"type": "tango", "name": channel_name, "tangoname": lima_device},
                channel_name,
            )
        self.add_channel(
            {"type": "tango", "name": "mask_file", "tangoname": mask_device},
            "MaskFile",
        )
        self.add_channel(
            {"type": "tango", "name": "mask_run_level", "tangoname": mask_device},
            "RunLevel",
        )
        self.add_command(
            {"type": "tango", "name": "start_mask", "tangoname": mask_device},
            "Start",
        )
        self.add_command(
            {"type": "tango", "name": "stop_mask", "tangoname": mask_device},
            "Stop",
        )
        self.add_command(
            {"type": "tango", "name": "prepare_acq", "tangoname": lima_device},
            "prepareAcq",
        )
        self.add_command(
            {"type": "tango", "name": "start_acq", "tangoname": lima_device},
            "startAcq",
        )
        self.add_command(
            {"type": "tango", "name": "stop_acq", "tangoname": lima_device},
            "stopAcq",
        )
        self.add_command(
            {"type": "tango", "name": "reset", "tangoname": lima_device}, "reset"
        )
        self.add_command(
            {"type": "tango", "name": "set_image_header", "tangoname": lima_device},
            "SetImageHeader",
        )
        # prepareAcq can block after large data transfers (buffered by GPFS): 2 min timeout
        self.get_command_object("prepare_acq").set_device_timeout(2 * 60 * 1000)
        self._emit_status()
    except ConnectionError:
        self.update_state(HardwareObjectState.FAULT)
        logging.getLogger("HWR").error(
            "Could not connect to detector %s" % lima_device
        )
        self._emit_status()