03-31-2015 02:18 AM
Hello,
i have a SENT- Signal and try to create a VI which is calculate the CRC-4. I did not make it. The polynom is x4+x3+x2+1 and the seed value is 0101. I need a VI which is calculate the CRC-4 for the SENT- Signal.
Maybe someone can help me?
Best regards
Sebastian
03-31-2015 05:02 AM
Do you have examples of inputs and expected outputs? There are many variations on CRCs and it is hard to get it figured out without some test data.
04-01-2015 04:11 AM
Hey Sebastian,
you dont need to write the CRC check by yourself. This is already done and can be found here:
SENT Driver API - National Instruments - National Instruments
http://sine.ni.com/nips/cds/view/p/lang/en/nid/211171
Community: SENT Communication Protocol Reference Example in LabVIEW FPGA - National Instruments
https://decibel.ni.com/content/docs/DOC-22370
Both examples include a VI for the CRC check.
Regards, Stephan