From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,394 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
(3,379 Views)
Solution
Accepted by topic author 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
(3,334 Views)