Chris_G.
unread,Aug 13, 2008, 1:40:14 PM8/13/08You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello rfolea,
Thank you for posting on the NI Discussion Forums. Unfortunately, there are no format codes which specify exactly what you are trying to do. When you read in a string of “1010” and format it to hexadecimal (using Fmt( ) with “%x<%s” as the format code), it literally converts “1010” to 0x1010, instead of 0xA like you are trying to do. So to say it plainly, there is no function that will take care of this conversion for you. As you proposed above, you must parse the string and convert every grouping of four characters into its corresponding hexadecimal representation.