07-21-2010 04:44 PM
Here is a couple of ways to do the whole thing, with the numbers before and after:
07-21-2010 04:46 PM
The CAN controller wants a hex message, so in the U8, I plug in 3 22 28 1C, each in a separate field. Here is the test file, a simple text with those messages (minus 3 22)
07-21-2010 04:50 PM
tbob, thanks, but what I want is the values that are in the input to be in the output array. 03 22 string converts to 03 34, but I want 03 22 (or similar) in my U8 array
07-21-2010 04:59 PM - edited 07-21-2010 05:00 PM
Try this

07-21-2010 05:02 PM
That is absolutely perfect...thank you so much!
Crystal-
07-21-2010 05:05 PM
@cnassouri wrote:
tbob, thanks, but what I want is the values that are in the input to be in the output array. 03 22 string converts to 03 34, but I want 03 22 (or similar) in my U8 array
If you right click on the output array and select Display Format, then select Hexidecimal display, you will see 03 22 etc. The number is the same internal to the computer. The display just shows up differently, it won't change the data you are sending at all. Actually, the computer stores 00000011 00100010 and sends that. Change the display to binary to see that display type.
07-21-2010 05:07 PM
Thank you, I was breaking my head over this for a couple of days. Now I have two ways, appreciate all the help.
Crystal-