code: def write_memory(self, space, offset, data, width, extended=False):
          
          return self.visalib.write_memory(self.session, space, offset, data, width, extended)
docs: Write in an 8-bit, 16-bit, 32-bit, value to the specified memory space and offset.
  
          :param space: Specifies the address space. (Constants.*SPACE*)
          :param offset: Offset (in bytes) of the address or register from which to read.
          :param data: Data to write to bus.
          :param width: Number of bits to read.
          :param extended: Use 64 bits offset independent of the platform.
  
          Corresponds to viOut* functions of the visa library.