LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI_Message Digest API.lvlib:File Checksum.vi Broken for Application Builder

Hello,

 

There is a crippling bug in LabVIEW 2024 Q3 (another one) which took me forever to figure out; I would greatly appreciate any workarounds to restore this functionality.

 

I use "File Checksum.vi" to calculate the hashes of some files in my program (which I build into an .EXE).

If you try and build an application that calls "File Checksum.vi", it will fail:

 

 

A VI broke during the build process from being saved without a block diagram. Either open the build specification to include the block diagram of that VI or enable debugging to include the block diagrams of all VIs in the build. Report this error to National Instruments technical support.
Click the link below to visit the Application Builder support page. Use the following information as a reference:

Error 1502 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Save.vi

Possible reason(s):

LabVIEW: (Hex 0x5DE) Cannot save a bad VI without its block diagram.

 

 

This is true even for the simplest of programs which call "File Checksum.vi"; I attach a simple LabVIEW 2024 Q3 project which has a single VI (example.vi) which solely calls "File Checksum.vi".

In this project, there is a Build Spec to make this VI into an exe, it will fail every time.

 

Please fix this bug!

0 Kudos
Message 1 of 2
(194 Views)

I attach a workaround using "System Exec.vi" and Powershell:

sha512Hasher.png

 

I would love an actual fix, as this method is slower than the built in "File Checksum.vi".

0 Kudos
Message 2 of 2
(172 Views)