def METHOD_NAME(self, METHOD_NAME):
    """
        Sends raster data to the raster component. data is a string of hexadecimal characters
    """
    self.__waitEnabled(False)
    pixelLen = self.bpp / 4
    if (len(METHOD_NAME) % pixelLen) != 0:
        raise ProgrammerException("Improper data format.")
    if not match("[a-fA-F0-9]+", METHOD_NAME):
        raise ProgrammerException("Data must be in hexadecimal format A-F,a-f,0-9")
    if not self.port.write(METHOD_NAME):
        raise ProgrammerException("raster port appears to be full. Try enlarging the port buffer size")