LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HexASCII Encoding

Hi All, I need to convert data into HexASCII string Data -> Convert all to Hex -> Convert every half byte of Hex to ASCII (end result).

 

So for example: 

Data is the sequence of mixed Hex and ASCII character: 0x1234AA” 0x5678BB

Convert all to Hex = 0x1234414256784344

Hex to ASCII =           0x31323334343134323536373834333434

HexASCII String =      ”1234414256784344

 

Is there an example available out there which already does this ?

 

Thanks.

0 Kudos
Message 1 of 2
(2,724 Views)

That's a pretty confusing hybrid of conversions you're trying to do there.

 

How do "AA" and "BB" become 4142 4344?

 

All I can say is search the forums.  Various different ways of doing conversions have been asked for and demonstrated hundreds if not thousands of times in the forums.

0 Kudos
Message 2 of 2
(2,712 Views)