LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fletcher Checksum


@Hooovahh wrote:

nyc wrote:

 

What is gained without him doing anything?


Meh I'm with crossrulz some times.  If I were looking for a Fletcher Checksum VI I know I could do it,


You could do, but that is not the point.  The OP didn't even bother trying.

I increasingly see a lot of laziness on these message boards.

People expecting to be given something without even attempting to make an effort.

 

I have always learned more by doing than getting a handout.

 

 

0 Kudos
Message 11 of 16
(1,107 Views)

@nyc_(is_out_of_here) wrote:

I increasingly see a lot of laziness on these message boards.

People expecting to be given something without even attempting to make an effort.


It is easy to get jadded on the forums.  I wonder if we need a support group.  Maybe a dedicated subforum for people to say thanks, and give stories of how they went from zero to hero because of the direction and help of experts.

0 Kudos
Message 12 of 16
(1,093 Views)

@Hooovahh wrote:

@nyc_(is_out_of_here) wrote:

I increasingly see a lot of laziness on these message boards.

People expecting to be given something without even attempting to make an effort.


It is easy to get jadded on the forums.  I wonder if we need a support group.  Maybe a dedicated subforum for people to say thanks, and give stories of how they went from zero to hero because of the direction and help of experts.


Fact is uncomfortable for some people.

 

 

 

 

0 Kudos
Message 13 of 16
(1,087 Views)

@nyc_(is_out_of_here) wrote:

Fact is uncomfortable for some people. 


I never said anything about being uncomforable, and I didn't say anthing about denying facts.

0 Kudos
Message 14 of 16
(1,079 Views)

I finally do one myself that work like I need. This is the VI:

The case structure is is for adding zeros if necessary (it takes the digits in groups of four)

Download All
0 Kudos
Message 15 of 16
(1,043 Views)

You should have stated that you wanted a U64 as the input.  And then that you just wanted the lower non-0 16 bit words.

 

You have plenty of Rube Goldbergs in there.  For instance, change your Scan From String to output a U16 and you can simplify your combining of the sums to a simple Join Number.  You could also make the format for the string be %4x.  This would eliminate the need for the String Subset since you could just keep the remaining string in a shift register.

 

And your adding of zeros I think is done at the wrong place.  They should be added to the front of the string, not the back.

 

And building on the code I already gave you, here is a much smaller version of the code that does the exact same thing.

 



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 16 of 16
(1,030 Views)