LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting color change information over time

Solved!
Go to solution

Thank you again gregoryj,

 

I have one more question: what function is the one you use in your picture three times (the one before DBL). I have Labview 2012 but I can't find it.

0 Kudos
Message 11 of 12
(858 Views)

Hi Tresdin, it is called split number. It will take a U32 and break it into the high and low U16, or take a U16 and break into the high and low U8. So if you input the second highest U16, 65534 (1111111111111110) you will get the high part 255 (11111111) and the low part 254 (111111110). It works for the RGB values because it is a U32 with 00000000 RRRRRRRR GGGGGGGG BBBBBBBB. Sometimes the first byte is the alpha value telling you what the transparency of the image is. The second byte represents red, the third green, and the fourth blue.

 

Split Number.png

Message 12 of 12
(842 Views)