02-07-2006 03:48 PM
02-07-2006 03:59 PM
02-07-2006 04:14 PM
thanx for replying..well i am running this for loop for getting the hex string which is of the form xxxx xxxx xxxx xxxx into xxxxxxxxxxxxxxxx form..to remove the space after every 4 bytes...but whats happening is i am getting the same format even after running it in the for loop which has shift registers...so i went ahead and put the probe on the data going into the loop and it indicated that the data going into the loop was not hex data...
-innovator81
02-07-2006 04:15 PM - edited 02-07-2006 04:15 PM
To add to what Dennis said, from the computer's point of view, the number is not converted at all. It is just a bunch of 1s and 0s. Conversions are done for the user's convenience. Whether a number is shown as hex, binary, or decimal makes no difference except for appearance. Math functions will act the same on any display format. Besides using a custom probe, you could put into your code a Number to String Conversion function with a string indicator if you want to always see the result in a particular format. For hex, use the Number to Hex String function.
Post your code and we can help you better.
Message Edited by tbob on 02-07-2006 03:17 PM
02-07-2006 04:19 PM
02-07-2006 04:31 PM
02-07-2006 04:53 PM
hello every1,
Thanx for replying..i am attaching the file herewith...please go through it and let me know whats the solution
-innovator81
02-07-2006 05:20 PM
02-07-2006 05:23 PM
02-07-2006 06:17 PM