02-26-2012 01:20 PM
Hello,
I need to calculate a Cyclic Redundancy Check. Can someone help me out with this problem?
The polynomial for this CRC8 is x8 + x5 + x3 + x2 + x + 1. I did not find any standard solution for this type.
Greetings
Solved! Go to Solution.
02-26-2012 02:09 PM
Hi DAckermann,
I can't claim to be an expert but a quick search has thrown up some promising resources:
Inline CRC Reference Library (CRC-32, CRC-16, and CRC-8)
It's always helpful to let us know what you have tried/researched so far
03-03-2012 07:39 AM
Hi
I found some pseudocode and was able to solve it by implementing this in LabVIEW.
Thanks.
for (i=Num_Bits; i>=0; i--)
{
xor_5 = CRC_4 ^ CRC_7;
xor_4 = CRC_2 ^ CRC_7;
xor_3 = CRC_1 ^ CRC_7;
xor_2 = CRC_0 ^ CRC_7;
xor_1 = data_in[i] ^ CRC_7;
CRC_7 = CRC_6;
CRC_6 = CRC_5;
CRC_5 = xor_5;
CRC_4 = CRC_3;
CRC_3 = xor_4;
CRC_2 = xor_3;
CRC_1 = xor_2;
CRC_0 = xor_1;
}
01-31-2013 09:06 AM
hello,
I can convert your VI in version 8.5
please
thank you
cordially
manu23