Kyle Grathwol
Member
Good Evening Gentlemen,
I am reading in a string into a ST9 file. The string has variable HEX charachters. I am extracting the four digits to another ST9 file. From there I need to convert them to integers. Convert ASCII to integer won't work because it is not ASCII and it skips over the letters of HEX.
The incoming data is HEX because I am pulling it off of a CAN bus and running it through a CAN to RS232 converter. I am filtering the string that I want to read in this converter and sending it in the ML1200 at channel 0. The string comes in just fine but it is hex and I need to read it as an integer.
Any ideas?
Thanks for your help.
Kyle
I am reading in a string into a ST9 file. The string has variable HEX charachters. I am extracting the four digits to another ST9 file. From there I need to convert them to integers. Convert ASCII to integer won't work because it is not ASCII and it skips over the letters of HEX.
The incoming data is HEX because I am pulling it off of a CAN bus and running it through a CAN to RS232 converter. I am filtering the string that I want to read in this converter and sending it in the ML1200 at channel 0. The string comes in just fine but it is hex and I need to read it as an integer.
Any ideas?
Thanks for your help.
Kyle