LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data folder after comiplation

Solved!
Go to solution

Hello,

 

I have a problem. Might be a simple one but I couldn't find a solution so far.

 

When I compile my VIs LabView creates a "data" folder with dll's I used. Now I want to use a different (static) folder for my dll's. Is it possible to say my programm that the libarys are located at a different place? 

0 Kudos
Message 1 of 6
(1,086 Views)

Do you mean Data Folder" LabVIEW Data" Which is "C:\Users\xxxxx\Documents\LabVIEW Data"?

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 2 of 6
(1,074 Views)

No I mean the folder that is created when I just build an exe. In this case I get the .exe, an .ini, an .aliases and the data folder with all dll's.

 

The compiled programm uses the dll's from these data folder. But I want to load the dll's from a different directory. Like c:\LabViewDLL for example.

0 Kudos
Message 3 of 6
(1,064 Views)

Maybe an update to my problem:

 

I found out how to change where the directory is created (build specifications -> Destinations). But now I encountered a different problem... maybe my core problem.

 

I want to use the exact dll's that I used in my VIs. I don't want the application builder to grab all the dll's and put them in a new directory. My idea was to simply use the source directory as the directory for supporting data. But LabView tells me that these two directorys could not be the same.

 

So the question should be: Is there a way to use the dll's from my source directory (like c:\LabViewDLLs) instead of the "new" dlls that the application builder creates.

0 Kudos
Message 4 of 6
(1,042 Views)
Solution
Accepted by topic author ThomasThePommes

@ThomasThePommes wrote:

So the question should be: Is there a way to use the dll's from my source directory (like c:\LabViewDLLs) instead of the "new" dlls that the application builder creates.


In the executable build spec, go to the Additional Exclusions category.  There is an option there to "Exclude dependent shared libraries".  Make sure that is checked.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(1,027 Views)

@crossrulz wrote:

@ThomasThePommes wrote:

So the question should be: Is there a way to use the dll's from my source directory (like c:\LabViewDLLs) instead of the "new" dlls that the application builder creates.


In the executable build spec, go to the Additional Exclusions category.  There is an option there to "Exclude dependent shared libraries".  Make sure that is checked.


Oh perfect thats exactly what I was looking for. Thank you.

0 Kudos
Message 6 of 6
(1,008 Views)