LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do rename the lvStorage.dll when creating an applcation?

When using the Open Storage(TDMS)VI  an lvStorage.dll is created in the data folder when building an application. I would like to rename the dll. How would I go about doing this? or how do i build the applicaion so i don't get the dll? When I create an application, I just want the Application.exe,Aliases file and configuration.ini

 

I using Labview 8.5

 

Thanks

0 Kudos
Message 1 of 4
(2,892 Views)

Your application will stop working if you rename this file. The DLL is located based on it's file name, so your application would no longer be able to load it.

 

An application built in LabVIEW is more than just an EXE, for example it needs the LabVIEW Runtime Engine to be installed. In your case, it will also need the USI component installed. Both of them will go into \Program Files\National Instruments\Shared. You might be able to move lvStorage.dll by assigning it a different destination folder in your installer configuration, but you will need to make sure that it ends up in a folder that LabVIEW applications use when they look for dependencies. These folders are not the same on all machines, so that is a very error-prone thing to do.

 

What problem are you trying to solve by removing lvStorage.dll from your application folder?

 

Herbert

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

Thanks for your responce Herbert.

 

I am using solidworks PDM enterprise to control my applications and installer. I cannot have duplcate file names in PDM.

 

Can i set up in the prodject were the application looks for support files?

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

I found that in the Podject under destination you can select were the support files live. I just have to make sure the dll is in that folder on the machines that run the application.

 

The reason I'm doing this, is because I want to run the application directly from PDM and this way the user will always have the latest version.

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