malkowki
-
Posts
4 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by malkowki
-
-
QUOTE(osvaldo @ Feb 13 2008, 11:16 AM)
Hi malkowki,The VI in attachment would help to solve your issue...
It calculate the CRC-16 x.25 standard CRC, but you can modify it to calculate any other CRC simply changing the loops and the binary word inside the inner loop.
The actual binary word (0001000000100001) stands for x^16+x^12+x^5+1... in your case the binary will be 00000111.
Don't forget to change the dimension from U16 to U8.
The VI can be used also to verify the CRC.
Best Regards
Osvaldo
Thanks for your help.what do you mean by changing the loops?can you explain in more details?
best regards,
-
QUOTE(Louis Manfredi @ Feb 12 2008, 03:25 PM)
Hello Louis,the reason that I have posted in Lava this issue because I want to have another expertise from LAVA member.this item about CRC looks tricky for me.NI forum is usefull but this time I have received only one reply on my request.Best regards,QUOTE(tcplomp @ Feb 12 2008, 12:33 PM)
, please mention you do a crosspost including link.Tonthanks for the remark.best regards,
-
Dear I would like to translate my HW (see picture) into labview code.
It is in fact a CRC check based on the polynomial x^8+x^2+x+1.
I need to calculate the CRC 8 bits for a 56 bit word, so my total word to be send via an SPI will be 64 bits long.
I don't have any C code since I am not familiar with this language, I would like rather a LV solution.
Is there anybody familiar with the CRC generation via LV?
Any help will be welcome so I can solve my issue.
thanks in advance dears!
Regards,
CRC 8 bit
in LabVIEW General
Posted
QUOTE(osvaldo @ Feb 13 2008, 03:02 PM)
Osvaldo,
thanks to have taken your time to help me.The CRC check was for me unclear unless you have explained me how it works.
I could implement this Vi in my application and it works! :beer:
:thumbup:
Best regards,