LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Text string to Hex number string.

4-4-07
In my application I read a string in from a .txt file. The string consist of 8 groups of 2 digits representing hex codes. Like: 0112010208020211. I need to convert this in to hex numbers 01 12 01 02 08 02 02 11 so that I can attach a header and calculate a check sum. When I load 0112010208020211 into a string control set for hex display I get 3031 3132 3031 3032 3038 3032 3032 3131, which is ok because I can add my header and calculate the check sum in this form but how do I get it back to 01 12 01 02 08 02 02 11 form to send to the device under test?
Thanks
TeBlues
 
 
 
0 Kudos
Message 1 of 5
(2,827 Views)
 
- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 2 of 5
(2,822 Views)
 
- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 3 of 5
(2,822 Views)
sorry my computer freaked out and posted many times

Message Edited by James R on 04-04-2007 04:45 PM

- James

Using LV 2012 on Windows 7 64 bit
Message 4 of 5
(2,824 Views)

4-5-07

Thanks James R. This is just what I was looking for, it dose exactly what I need.

Thanks again

TeBlues

 

0 Kudos
Message 5 of 5
(2,792 Views)