LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

checksum 8 bit modulo 256

Solved!
Go to solution

Hello All,

 

How do I calculate the 8 bit modulo 256 checksum?  See the example from the manual.

Example:

            To send the Set Temperature of 100.0 Deg. to controller.

            Fixed Decimal Set Temp is multiplied by 10 to prepare to send.

            Convert 1000d to hex which is 03e8

            Send:               (stx)001c000003e8b4(etx)

 

So..in the example the checksum is b4.

 

Thanks in advance.

Gary

0 Kudos
Message 1 of 4
(14,933 Views)
Solution
Accepted by topic author Garyeh

simpleChecksum.png

 

Message 3 of 4
(14,919 Views)

Darin,

 

Excellent! I had initially tried that but it didn't seem to work.

 

Thanks!

Gary

0 Kudos
Message 4 of 4
(14,909 Views)