LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Checksum calculation

For safety reasons I have to calculate a checksum of a LabView .vi
respective .exe file. How can I calculate a checksum of a file in LabView?

Mike
0 Kudos
Message 1 of 6
(5,360 Views)
Hi Mike,

send your email adress to buero@hersacher.de and I can send you some checksum calculation VIs for CRC checksums.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 2 of 6
(5,360 Views)
Bottom line, a file is a file is a file. To calculate a CRC simply use one of the existing File IO examples to read the VI as so many data bytes and calculate the CRC of the file contents.

The attached library has functions for doing 32-, 16- and 8-bit CRCs as well as a good old fashioned checksum.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."
Message 3 of 6
(5,360 Views)
Well isn't this a nice little package!

I am going to add this to my collection.

Thank you Mike!

Ben
0 Kudos
Message 4 of 6
(5,360 Views)
Same goes for me - thanks Mike
Could one of you chaps demonstrate how to use please?

Paul.S
0 Kudos
Message 5 of 6
(5,360 Views)
I do really not know what the problem is!!!!
Mike



"Ben" schrieb im Newsbeitrag
news:5065000000050000008CF40000-1042324653000@exchange.ni.com...
> Well isn't this a nice little package!
>
> I am going to add this to my collection.
>
> Thank you Mike!
>
> Ben
0 Kudos
Message 6 of 6
(5,360 Views)