05-28-2015 05:59 AM
Hi everybody!
I new in this and I need a VI that makes me a Fletcher Checksum. The string to be checksummed is (for example): 0x 50903001, and the result is 0xD11F8090.
This is what i have to do in other lenguage:
05-28-2015 06:34 AM - edited 05-28-2015 06:36 AM
This should do it for you.
Correction: your prior should actually be 0x0000FFFF
05-28-2015 08:04 AM - edited 05-28-2015 08:05 AM
@crossrulz wrote:
This should do it for you.
Correction: your prior should actually be 0x0000FFFF
You've just done his work for him.
What is gained without him doing anything?
05-28-2015 08:21 AM
nyc wrote:You've just done his work for him.
What is gained without him doing anything?
I was feeling generous this morning. It happens every once in awhile. Checksums do tend to end up being weird. I guess this one was simple enough. Maybe I should have done an Altenbach.
05-28-2015 08:32 AM
@crossrulz wrote:
nyc wrote:You've just done his work for him.
What is gained without him doing anything?
I was feeling generous this morning. It happens every once in awhile. Checksums do tend to end up being weird. I guess this one was simple enough. Maybe I should have done an Altenbach.
I agree that checksums can be weird. All the more for doing work to learn.
05-28-2015 08:33 AM - edited 05-28-2015 08:36 AM
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, and it probably wouldn't take much time, but I'd probably search the forums first, and be thrilled to see someone has already done it. And then there is the fact that the OP can look at the text source, and see how it relates to this implementation in LabVIEW which can also be helpful for a learning experience.
But yeah, some days I feel generous too.
Also I figured the link to altenbach would have been to some obfuscated code thread.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-29-2015 04:52 AM
Thanks for the answer but I've tryed and it don't give the checksum that I need.
05-29-2015 04:57 AM
I tested first the once i found in the forum and none worked, I also tried to make one myself, but have not been successful
05-29-2015 06:02 AM
Be a little bit more specific. What data did you use and what is your expected checksum?
05-29-2015 06:34 AM
@Anac wrote:
Thanks for the answer but I've tryed and it don't give the checksum that I need.
Make sure your Prior is correct. That is the only information that was an unknown and I had to experiment to find one that worked with the data set you provided.