Anytime Help Center

Common Netlinx Checksum Calculations

Rating

​​​​Question:

What  are some common checksum calculations in Netlinx programming?

Answer:

The attached checksum.axi file contains many common checksum calculations.​

The included checksum calculations are:

  • checksumAdd (A sum of all bytes, the most common checksum)
  • checksumBxor (bxor bitwise exclusive or checksum, for some Sony)
  • checksum1sCompliment (1's compliment checksum)
  • checksum1sCompliment2byte (1's compliment checksum, returns "lo byte,hi byte" for Hitach HVD30)
  • checksum2sCompliment (2's compliment checksum)
  • checksum2sCompliment7bit (2's compliment checksum, 7 bit for roland/yamaha MIDI sysx)
  • crc8
  • CRC16 (IBM Checksum)
  • crc16_bitwise
  • CRC16C (CCITT Checksum)
  • CRC32 (IEEE 802.3 Checksum)​​


Downloads

Product

 

Topic

Programming

Related Articles

Last modified at 6/29/2023 1:43 PM by PRO Knowledge Base
Top