I'm not a VB person, don't even own a copy to try your routine.
The routines I wrote were for the Dallas Semiconductor CRC8 check. Any other CRC routine may not work in the same manner. I note you changed the table entries which may be in a effort to fix this but that may not always work either. Some CRC routines calculate with a different poly or "reflected" or changed in other ways. You will need to find out the particulars of the CRC your device is sending.
If you are trying to emulate the Dallas 1wire CRC8 then the table values you have are incorrect.
Bookmarks