dipu2689 Posted August 30, 2017 Report Share Posted August 30, 2017 Hello, I am unable to recreate a CRC vi to calculate the checksum. The procedure mentions calculation as follows:- The polynomial is 0x8005. The initial register value should be 0x0000. After the last bit of the Count and packet has been transmitted, the internal CRC Register should have a value that matches that in the block. The first Checksum byte transmitted (N-2) is the most-significant byte of the CRC value, and the last byte of the block is the least-significant byte of the CRC. I used the attached VI and configured as mentioned. The results are wrong:- Some of the correct results are below: Input: 0702000000 | CRC:1E2D Input: 0730000000 | CRC:035D CRC 16 Calculation.vi Quote Link to comment
crossrulz Posted August 31, 2017 Report Share Posted August 31, 2017 cross point on the dark side: CRC-16 Calculation from C code Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.