LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to calculate a CRC 16 bit

I need to creat a CRC 16 bit to comunicate with a divice. the CRC is transmitted as 2 binary bytes. The CRC must be constructed in a way so thet it always supplements the total CRC to 0000 (hex). A string is only valid if the CRC is 0000 (hex). Otherwise the message is ignored. Is anyone working in something like that?Please send the answer to olgapires@deb.uminho.pt
0 Kudos
Message 1 of 4
(4,170 Views)
I attach crc16 vi.
You can use it in your aplication.
0 Kudos
Message 2 of 4
(4,170 Views)
Thank's a lot for your answer,but I have a problem: When I trying to use the aplication, there was a mesage saying that I had to find the crc16.dll, but I don't have this library on my software, and so, I can not use the vi. Could you send me this library, plase?
0 Kudos
Message 3 of 4
(4,170 Views)
I'm sorry.
I send you it now.

P.S. You can use only this dll. Just see in my vi how i use it. In my vi i get block of 16-bit numbers.
But if you work with 1-byte numbers, use only dll.
0 Kudos
Message 4 of 4
(4,170 Views)