LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Runs Fine, Executable Says a SubVI is Not Executable

All,

I have a VI that runs fine.  All the subVIs work perfectly.  But when I build an executable in the same folder and try to run it, I get a message saying that some of the subVIs are not executable.  Has anyone run into this before?  If so, how did you fix it?

 

Thanks!

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 4
(2,926 Views)

Just to make sure, this does manage to build an EXE and then the EXE fails?  The build process goes with no errors?

 

Does your application use any of the following?:

  • Dynamically called VIs
  • 3rd party libraries with block diagrams password protected or removed
  • External DLLs

Do you have the most recently patched version of the Run-time engine matching your LabVIEW version installed?

 

Can you post the code plus all subVIs in a ZIP or is it too large and/or confidential?

0 Kudos
Message 2 of 4
(2,920 Views)

@diarmaede wrote:

But when I build an executable in the same folder and try to run it, I get a message saying that some of the subVIs are not executable. 


Can you explain what you mean by "same folder"? Same as what? How are you calling the subVIs?

0 Kudos
Message 3 of 4
(2,913 Views)

One common cause of this issue is having conditional disable code (like a "RUN_TIME_ENGINE==True" of a Conditional Disable Structure) that contains broken code. It will run fine in the IDE, but will result in broken code when building an EXE.

0 Kudos
Message 4 of 4
(2,884 Views)