code: def init(self):
          '''
          Initialize the device.
          Parameters of visa.ResourceManager().open_resource()
          '''
          super(Visa, self).init()
          backend = self._init.get('backend', '')  # Empty string means std. backend (NI VISA)
          rm = visa.ResourceManager(backend)
          try:
              logger.info('BASIL VISA TL with %s backend found the following devices: %s', backend, ", ".join(rm.list_resources()))
          except NotImplementedError:  # some backends do not always implement the list_resources function
              logger.info('BASIL VISA TL with %s backend', backend)
          self._resource = rm.open_resource(**{key: value for key, value in self._init.items() if key not in ("backend",)}f init(self):
          '''
          Initialize the device.
          Parameters of visa.ResourceManager().open_resource()
          '''
          super(Visa, self).init()
          backend = self._init.get('backend', '')  # Empty string means std. backend (NI VISA)
          rm = visa.ResourceManager(backend)
          try:
              logger.info('BASIL VISA TL with %s backend found the following devices: %s', backend, ", ".join(rm.list_resources()))
          except NotImplementedError:  # some backends do not always implement the list_resources function
              logger.info('BASIL VISA TL with %s backend', backend)
          self._resource = rm.open_resource(**{key: value for key, value in self._init.items() if key not in ("backend",)})
docs: Initialize the device.
          Parameters of visa.ResourceManager().open_resource()