05-11-2006 09:18 AM
05-11-2006 09:55 AM
05-11-2006 10:10 AM
05-11-2006 11:18 AM
Actually it was 7.0 so here is a version now.
But as I said if it does not look like hex in the raw string it is not hex but bytes.
so simply use the string to byte array and you are ready, I use the inverse in my program to get from bytes to a string.
A lot of people don't get the meaning of hex or binary or decimal. But think of it as the way you look at the contents, te values don't change
only the way we display them.
A lot of manufacturers are mixing up hex in the manual with bytes to the machine. I guess you don't have to do anything else than
convert the string to a byte array and in that byte array let the numbers display the radix and set that to hex.
succes
05-11-2006 01:20 PM
05-11-2006 04:25 PM
What is so nice about the ascii values in a string
If you have the bytes in an array you can look at them in hexadecimal.representation by rightcliking in one of the bytes of the array
select display radix and in the radix select hexadecimal
see a very compact program attached
05-12-2006 09:13 AM
05-12-2006 09:42 AM - edited 05-12-2006 09:42 AM
Perhaps this is what are you looking for .
Regards
PS: I just verified that Albert and I gave you the same answer...sorry...why don't you send us an example?
I understood that you want to convert "3456" string to 34hex and 56hex relative ascii char obtaining "4V".
Message Edited by antea06 on 05-12-2006 09:50 AM
05-12-2006 11:21 AM - edited 05-12-2006 11:21 AM
Message Edited by JohnGalt on 05-12-2006 11:22 AM
05-15-2006 03:16 AM