LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CRC generator problem

Solved!
Go to solution

Now I'll mention my first clue that some engineer had trouble speaking to the tech writer.  STX is not 7F.  Check your ASCII tabels people.Smiley Frustrated

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 18
(2,801 Views)

@JÞB wrote:

@crossrulz wrote:

This seems to work...


I have no Idea how you reverse engineerd that!  no XOR between Data In[i] and Remainder Polynomial.  Yeah, that's not a "CRC" in a strict sense.  but probably what got implemented.

 

My hats off to you my friend 


Actually, that is the true CRC.  I have had that VI sitting around for many years (as in around 7 years now).  All but a few that I have seen on these forums follow this paradim perfectly, with just a few parameters for variations.  I used this site for reference when I originally made up my CRC library: http://zorc.breitbandkatze.de/crc.html



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
0 Kudos
Message 12 of 18
(2,797 Views)

That just points out the problem.  

 

You cannot recover the corrupted Data without adhering to the math of a CRC.  


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 18
(2,780 Views)

Jeff·Þ·Bohrer wrote:

You cannot recover the corrupted Data without adhering to the math of a CRC.  


Correct.  A CRC is nothing but a fancy parity check (used to verify the data is correct).  If you want to recover data, that requires something like Reed-Solomon and/or Hamming algorithms.  Most things just use the CRC and report an error if the check failed.



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 18
(2,768 Views)
Exactly. Yet, claiming its a CRC is disegnuios. It fouls up developers.

"Should be" isn't "Is" -Jay
0 Kudos
Message 15 of 18
(2,748 Views)

@crossrulz wrote:

This seems to work...


 

 

This seems to be it!!

 

I tried to recreate this from picture but unsuccessfully. Can you please post vi (I'm using LV2010)?

0 Kudos
Message 16 of 18
(2,728 Views)
Solution
Accepted by topic author SuperbrainBug

SuperbrainBug wrote:

I tried to recreate this from picture but unsuccessfully. Can you please post vi (I'm using LV2010)?


Sure...



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 17 of 18
(2,709 Views)

@crossrulz wrote:

SuperbrainBug wrote:

I tried to recreate this from picture but unsuccessfully. Can you please post vi (I'm using LV2010)?


Sure...


I works! I want to thank everyone for help especially to crossrulz.

 

0 Kudos
Message 18 of 18
(2,691 Views)