# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## Re: CRC-16 with 0x8005 polynomial

I am not getting the expect result. I modified the VI to look like this:

Message 11 of 22
(2,569 Views)

## Re: CRC-16 with 0x8005 polynomial

Could you post a picture of your modified version?

Message 12 of 22
(2,557 Views)

## Re: CRC-16 with 0x8005 polynomial

The 0x1FF3 should be 0x4042...

Message 13 of 22
(2,554 Views)
Solution
Accepted by topic author swbpnole

## Re: CRC-16 with 0x8005 polynomial

Here, use this.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 14 of 22
(2,548 Views)

## Re: CRC-16 with 0x8005 polynomial

Could explain this one? Why the changes?

Message 15 of 22
(2,543 Views)

## Re: CRC-16 with 0x8005 polynomial

@swbpnole wrote:

Could explain this one? Why the changes?

This VI is based on a setup I have had for a very long time.  Like I said before, there are many different ways to do a CRC.  In this case, we needed to shift the CRC to the left while the Data is shifted to the left.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 16 of 22
(2,535 Views)

## Re: CRC-16 with 0x8005 polynomial

Are you using a PC? This is too wierd I am not getting this...

Message 17 of 22
(2,529 Views)

Mine:

Message 18 of 22
(2,515 Views)

## Re: CRC-16 with 0x8005 polynomial

Try right-clicking on the Boolean Array To Number and select properties.  There is a tab in there to allow you to change the output data type.  Change that to a U16.  I'm not seeing anything else obviously wrong.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 19 of 22
(2,497 Views)

## Re: CRC-16 with 0x8005 polynomial

Between you and the NI AE, I realized it was my polynomial and initial value representations, both were I32 and should have been U16. Thanks...

Message 20 of 22
(2,485 Views)