Is there a reason why you don't use the 'Intensity Graph' indicator? It probably even allows to represent 16 bit gray scale colors (if the graphics card and monitor do), whereas the 'Draw pixmap' only supports RGB colors, i.e. gray scale values only range from 0... 255.
Thanks to all of you who tried to help me. The problem isn't totally solved
yet but I could advance.
For unknown reason my newsgroup server hasn't carried out their answers,
that I have recently seen through the NI site.
"Victor Manta" <firstname.lastname@example.org> wrote in message
>I wish to visualize in a picture control a matrix of 80 * 80, 16 bits
>values. These values represent grey scale light intensities.
> I'm trying to use for this the Flatten Pixmap.vi, followed by Draw
> Flattened Pixmap.vi.
> Because the Flatten Pixmap.vi doesn't accept a 16 bit pixmap, I have
> compressed the data for each pixel to 8 bits.
> Then, as I understood, I should connect an array of 256 elements to the
> Color input of the Flatten Pixmap.vi.
> What should contain the elements of the mentioned array so that I get a
> gray scale image? Where can I read about this or find an example?
> Thanks a lot in advance.