LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build exe is working but the program is not

Solved!
Go to solution

that's not possible. As you can see from the screenshot, the folder dependencies is not available in the Source Files folder. Don't know why... do you have an idea?

0 Kudos
Message 21 of 34
(1,779 Views)

changed to private msg.

0 Kudos
Message 22 of 34
(1,760 Views)

does nobody know why the dependencies are not shown to select as included?

0 Kudos
Message 23 of 34
(1,745 Views)

The dependencies are included automatically. You only have to explicitely include items which are called dynamically (using VI server). SubVIs are always included automatically.

 

0 Kudos
Message 24 of 34
(1,738 Views)

obviously is there something wrong because when I put the folder in the windows explorer in the same folder where the .exe is built, then the program is working. But the client shouldn't see this folder with loads of VIs, ctls etc.

So how I can get this folder IN the exe that the program is working fine?

0 Kudos
Message 25 of 34
(1,730 Views)

@Susanne1709 wrote:

obviously is there something wrong because when I put the folder in the windows explorer in the same folder where the .exe is built, then the program is working. But the client shouldn't see this folder with loads of VIs, ctls etc.

So how I can get this folder IN the exe that the program is working fine?


Set up a folder as Destination in the build and link a folder to it in the Source distribution settings.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 26 of 34
(1,725 Views)

please see screens attached what i do. I have a destination folder for the build (this is working fine). Should I link the dependencies to "same as caller", "application.exe"... or what do you mean? Smiley Indifferent

Download All
0 Kudos
Message 27 of 34
(1,722 Views)

I suggest you read the help for the application builder - it will explain all of the options and what they mean.

 

You can create additional destination folders in the destinations page and then they will appear under the 'destination' drop-down box on the source files page. You can then put the files that are missing into that new destination directory.

 

Like I said before - if you want all of the VIs to be contained inside the .exe then you will need to change how the VIs are referenced in your code. If you save your VI for LV2013 then I can have a look to see if that is the issue.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 28 of 34
(1,715 Views)

thanks. I did it and it worked first fine. Then I get this error: the gpib interface is missing...

0 Kudos
Message 29 of 34
(1,710 Views)

Ignore the GPIB error...sometimes LabVIEW error codes are used for different reasons. I think the error is 'File not found'...and the path to the missing file is shown at the bottom of the screenshot.

 

Looks like you need to include that text file in your build specification as well.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 30 of 34
(1,703 Views)