def METHOD_NAME(self, channel, val):
    '''
    Set value in 0..2**16-1, 16bit resolution.
    Returns True for successful readback, returns False if an error occurred in the readback.
    '''
    byte_arr = bytes_from_nibbles([0,channel,(val>>12) & 15,(val>>8) & 15,(val>>4) & 15,val & 15])
    self.write(byte_arr)
    #echo readback delivers the previous input word and can be used to verify data transfer
    readback = self.update_output(channel)
    if readback == byte_arr:
        return True
    else:
        logging.error("{:s}: SPI communication not acknowledged.".format(__name__))
        return False