ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Draw pixel color?

Solved!
Go to solution

Hi,

 

I'm wondering what valid values for the "pixel color" input for the IMAQ Draw.vi are. I'm using RGB32 (U32).

I couldn't find info on that in the help function of the VI or the web. I can enter values going into the 10.000s, which clearly has an effect on color.

I would have expected separated R, G and B inputs and don't know how they combine.

 

Thanks!

 

 

0 Kudos
Message 1 of 3
(4,141 Views)

use this vi to understand it 

select rgb and hover your mouse on image  to see the result

0 Kudos
Message 2 of 3
(4,126 Views)
Solution
Accepted by joptimus

The color value is six digit Hexadecimal representation of RGB Values.

-Like first two digits representing Hex value of R and next two digits to G and last two to Blue.

Thanks
uday
Message 3 of 3
(4,081 Views)