I have a documented procedure in C that shows how to make a CRC for a protocol. I need this procedure written in VB using the MSComm control and showing how to calculate the CRC. I would prefer a function that would receive string and return the 2 character CRC.
Please read both attachments. One attachment shows the routine written in C, the other attachment shows some information about specific control codes and command formatting.
I have some examples of what the CRC is for a couple of commands, and can forward them if needed.
A VB module of the routine specified.