LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I distribute then use .lvlib library files ?

Dear All,
 
I have created a .lvlib file called Oscilloscope.lvlib in a project called Oscilloscope.lvproj.
 
I now want to call Oscilloscope.lvlib vi's from a new project called DataAquisition.lvproj and I'm struggling to understand the best place to save Oscilloscope.lvlib and it's vi's.
 
I need to send my DataAquisition.lvproj to a customer.  If I send him Oscilloscope.lvlib and DataAquisition.lvproj and he saves them in a different path on his PC to mine the links will be lost ?  At this stage he has LabVIEW installed on his PC, I have not created an .exe as I don't have the Application Builder.
 
Should I save a copy of Oscilloscope.lvlib and it's vi's in my new DataAquisition project just in case the original Oscilloscope.lvlib and it's vi's get moved ?
 
Any advice would be greatly appreciated.
 
Aaron
0 Kudos
Message 1 of 3
(3,090 Views)

Hi Aaron,

I don't think you'll have a problem here losing the links to the library files, just so long as the relative file paths stay the same. So if both the project file and the library files are in the same directory, regardless of the actual file path, I think Labview will find the VI's without a problem.

One other think to note though, even if the files are misplaced, Labview will automatically search for the missing files. If it finds the files, it will update the links automatically.

Regards,

Andy

0 Kudos
Message 2 of 3
(3,081 Views)
Hi Aaron,

Try including all the files you need in a project and verifying that the file paths remain the same as those in your built executable. Let me know if this helps!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 3 of 3
(3,068 Views)