LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a LabVIEW-built EXE from a Disc

I would like to run a LabVIEW-built EXE from a disc.  When I run it from the hard drive, everything is fine.  When I copy it to a disc (along with the ini and other build artifacts), it pops up the load dialog looking for LabVIEW controls etc that you would normally get opening up a project in the LabVIEW IDE.  The path it is looking for these controls at is <disc root>\<executable>.exe\<the control.ctl> which makes sense as that's where the control would reside, inside the executable.

 

Is there some set of build settings that need to be configured to allow it to successfully find/load from a disc versus from a folder on the hard drive?



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 1 of 2
(854 Views)

As you reported, it seems that, due to some compiler issues, the EXE is looking for something that is missing.

You can try to do this:

- Be sure that your CTL is present in the LabVIEW project.

- In the EXE build specification, force your CTL to be "always included". To do this, go to the EXE build specification, select Source Files tab and move your CTL in the Always Included list.

 

If this doesn't work, try these ways:

Way 1: Mass compile.

Way 2: Close the project, rename your CTL, Open project (it will return dependencies errors), Save project, Close project, Restore your CTL name, Open project, Fix dependencies errors, Build Exe.

 

 

0 Kudos
Message 2 of 2
(840 Views)