12-12-2017 11:50 PM - edited 12-12-2017 11:54 PM
Hello everyone,
I have been trying to convert 2-digit hex number like FF to 8 bit like 11111111. But, I want to convert 5 of hex number to 8 bit and convert again to string. I think I have a problem at the end. I could not convert to 1X5 array to 1X1 numeric array or string.
FF (11111111), FA (11111010), FB (11111011) ... TO 111111111111101011111011...
Thank you,
Solved! Go to Solution.
12-13-2017 12:21 AM
All your blue thing should be U8. One of your constants is U32.
I would format your numbers with 8 digits, padding with zeroes on the left.
If you want to convert to a formatted string consisting of the characters "0" and "1", just format as binary at the end.
If you attach your code, fill all controls with typical data and make the values the default before saving. This way we have a better idea what you are trying to do.
12-13-2017 12:28 AM
See if this works for you...
12-13-2017 12:41 AM
@altenbach wrote:
See if this works for you...
Thank you, it works for me, now I try to understand your diagram on my own.
12-13-2017 11:03 AM
@alpguclu wrote:
@altenbach wrote:
See if this works for you...
Thank you, it works for me, now I try to understand your diagram on my own.
If you get stuck, we're here to help. 🙂