code: def open_bare_resource(self, resource_name,
                            access_mode=constants.AccessModes.no_lock,
                            open_timeout=constants.VI_TMO_IMMEDIATE):
          
          return self.visalib.open(self.session, resource_name, access_mode, open_timeout)
docs: Open the specified resource without wrapping into a class
  
          :param resource_name: name or alias of the resource to open.
          :param access_mode: access mode.
          :type access_mode: :class:`pyvisa.constants.AccessModes`
          :param open_timeout: time out to open.
  
          :return: Unique logical identifier reference to a session.