10-20-2015 07:56 PM
I've searched and found examples of exactly what it is I want to do, but for whatever reason, I'm not getting the correct values I want.
All I need to do is take a hex value...1F4EF5, and translate it into simple BCD so that I can take it apart at the bit level. I'm currently following a few examples that simply take the hex string, convert it to an integer then to binary and I'm getting wrong results for the binary. Any help would be appreciated.
Solved! Go to Solution.
10-20-2015 08:33 PM - edited 10-20-2015 08:34 PM
Are you going for something like this?
10-21-2015 10:39 AM
Hi crossrulz,
Mostly yes, except the output I would like to be a string that way I can search it.
-Ben
10-21-2015 12:02 PM
10-21-2015 12:18 PM
Hi Gerd,
String is needed or preferred rather because that is the format from the original vi that I'm modifying. It's not necessarily required. That said, I was able to use your example and now have working code...finaly! Thank you to you two for the help.
-Ben
10-21-2015 12:59 PM - edited 10-21-2015 01:04 PM
You need to be very careful with the lenght.
For example if the first two digits of your input string are "00", you would get a short result with the given code. Maybe that's OK?