I'm not clear on exactly what you are looking for, but the attached example demonstrates how to create a custom color palette for the WindDraw window. A custom color palette is composed of an array of clusters containing 256 elements for each of the three color planes. A specific color is the result of applying a value between 0 and 255 for each of the three color planes (red, green, and blue). If the three planes have identical values, a gray level is obtained (0 specifies black and 255 specifies white). This output array connects directly to the input Color Palette of IMAQ WindDraw. Use this example when you do not want the color palette to be one of the predefined palettes (Gray, Binary, Gradient, Rainbow, Temperature) available through IMAQ GetPalette. The Color Palette only applies to 8 bit images, otherwise it will be ignored. This example requires IMAQ Vision.
If this example isn't relevant to what you are trying to do, please explain what you are looking for in more detail.
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments