Converting ascii to hex 
Author Message
 Converting ascii to hex

How do you go about converting an ascii string to a string of
corresponding hex values.  ex. "C"-->"43"  or "KC" --> "434B"


Wed, 03 Nov 2004 02:38:54 GMT  
 Converting ascii to hex
If you only want to display the hexadecimal content of a string, write
it in an indicator and select the hexadecimal display with the right
button menu.

If you need to convert the string, tt can be done using 3 labview
functions, no loop:

ASCII String->String to Byte Array->Number to Hexadecimal
String(length 2)->Concatenate Strings->Hexadecimal String.



Wed, 03 Nov 2004 04:01:28 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to convert Ascii to Hex ?

2. Ascii to Hex, Hex to Ascii convertion

3. Converting Hex to ASCII??

4. Need help converting hex to ASCII

5. Converting Hex to ASCII

6. want routine to convert hex to decimal thence to ascii - anyone h elp

7. Converting hex digit to ASCII character

8. Converting hex digit to ASCII character

9. Need help converting hex to ASCII

10. Convert a hex string to the same hex number

11. Hex to Bin, Bin to Hex, Hex to Dec, Dec to Hex

12. History of HEX and ASCII

 

 
Powered by phpBB® Forum Software