06-06-2005 10:48 AM
@tbob wrote:
Once you have the sum of the bytes (a number), AND it with decimal 255, which is the same as FF. These are numbers, not strings. The result is the calculated checksum number. You can use the equals function to compare it to an expected checksum. Wire the calculated checksum in one terminal and the expected checksum in the other (255 in your case) and the output will be true if the two numbers are equal, false if they are not. After converting strings or hex bytes into numbers, you can work with numbers. No need for strings anymore. Whether you want to display the numbers in decimal (255) or hex (FF) makes no difference, the numbers are the same.
06-06-2005 12:04 PM
@hpitter wrote:
What I need is a hex string in hex format....
6D90 2000 not 6D902000.
Any ideas?
06-06-2005 02:31 PM
07-25-2016 12:49 PM
what is the name of those blocks?
Can you help me?
Thanks
07-25-2016 01:27 PM
Who are you asking? This is an 11 year old thread with lots of messages.
When replying to a specific message, be sure to use the Quote button so we can see which message you are asking about.
Since this thread is mostly about numbers and conversions, look in the Numeric >> Conversion and Numeric >> Data Manipulations palettes.
07-25-2016 01:28 PM
07-25-2016 01:33 PM
Yes that image.... The 2nd and 3rd diagram block please.
Thanks
07-25-2016 01:47 PM - edited 07-25-2016 01:48 PM