Hello,
I didn't see anything directly related to my question, so I'll go ahead and post it. I'm looking to parse an array of hex characters into three separate arrays for parallel Color to RGB conversion in LabView. Ideally, after importing an image, I would have liked to use the Color to RGB conversion for the 24-bit pixmap (in hex digit format), but apparently, you can only do this for single number conversions...not arrays. Another way is what I have mentioned above, which would be to parse each element's red, green, and blue # into three separate arrays as shown below:
Original Array:
aa11ff 225599 cc4488 bbcc11Array 1: aa 22
cc bbArray 2: 11 55
44 ccArray 3: ff 99
88 11I could then do a parallel conversion of these arrays from hex to numeric and get the desired result. However, I'm having trouble finding a function that will do this. So I would like to ask if a function like this does exist and if so, what is it? I should note that I'm trying to avoid using two while loops because of time constraints (using the program for in-situ measurements), and we do not own, nor are we looking to purchase the $$$ vision/video package that NI makes.