10-21-2016 12:17 AM
Hi, what is the relation between the value that coming out from color box and the color selected in Front panel as in the attached image ?
Solved! Go to Solution.
10-21-2016 12:30 AM
Hi dhans,
A color in LabVIEW is a representation of a 32-bit integer. You can separate the 32-bit integer into four U8 integers:
If you wish , refer the following link for more details.
http://digital.ni.com/public.nsf/allkb/B61D723CC7B7BE4E862568F8004C3ACB
Regards
Deepu Jacob
10-21-2016 01:17 AM
Hi djac91,
Thanks for the reply. The link you have given helps me to undertsand about colors used in labview. But still one point i need to understand further. In the attached image irrelevant value( I think) is flowing from color box to the variant node. Thats what i am asking for. Relation of that data to the color i have chosen.
10-21-2016 01:58 AM
The value you are getting is 46253 (decimal), just convert it to Hex format and you get 00B4AD which 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.
10-21-2016 02:06 AM
The value is relevant. Check the attached vi.
10-21-2016 02:22 AM
Thanks to both of you!!!