def __init__(self, dev): self.scan_thread = None self.dev = scanext.openDevice(dev) self.options = {} self.__load_options_dict()