code: def read_asynchronously(library, session, count):
      
      buffer = create_string_buffer(count)
      job_id = ViJobId()
      ret = library.viReadAsync(session, buffer, count, byref(job_id))
      return buffer, job_id, ret
docs: Reads data from device or interface asynchronously.
  
      Corresponds to viReadAsync function of the VISA library.
  
      :param library: the visa library wrapped by ctypes.
      :param session: Unique logical identifier to a session.
      :param count: Number of bytes to be read.
      :return: result, jobid, return value of the library call.
      :rtype: ctypes buffer, jobid, :class:`pyvisa.constants.StatusCode`