09-14-2020 09:25 AM
There is a nice .vi for CRC32 (https://forums.ni.com/t5/Example-Code/Calculating-the-CRC32-of-a-File-with-LabVIEW/ta-p/3496230).
Is there something similar for the Adler-32 checksum?
Solved! Go to Solution.
09-14-2020 09:34 AM
09-14-2020 09:46 AM
Hi GerdW,
not yet, but will do so I guess if there are no "stock" .vi available...
09-15-2020 03:54 AM - edited 09-15-2020 04:05 AM
Here's an implementation:
09-15-2020 04:01 AM
09-15-2020 04:07 AM
sure, & thanks. still need to get used to programming in LV 😉
08-24-2023 09:13 AM
The Adler-32 solution by MrFuppes is incorrect for large data sets. The high (B, s2) and low (A, s1) should be converted to U32 prior to the add and modulus.
Example:
"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"
ADLER-32: 0x09832C7D