LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Handling multiple lvlib or lvlibp versions

I need to be able to have multiple library versions installed on a single system. For example; a project which points to a library (.lvlib or .lvlibp) and then switch to have it point to another version of that library.

 

My plan is/was to create a directory structure as such:

 

My_Libs\DoStuffLib\Revision1\DoStuffLib.lvlibp:Init.vi

"                             "\Revision2\DoStuffLib.lvlibp:Init.vi

 

In my project I will include DoStuffLib.lvlibp from the Revision1 directory.  Later I will want to upgrade and point to the version in Revision2.  However, I will still have other projects that have not upgraded so I will need to keep the Revision1 on the same system.

 

In effect I can do what I want by deleting the current library and then when a project/vi open and try’s to load a vi from a library I’ll get the browser to select the location. Then it gives the warning that a vi is being loaded from a new location.

 

I am thinking of making a tool to make the desired library version the active version which copies it into the location pointed at by my vi's in my project.  My project would need a list of version numbers for each library and then copy over the desired version.

 

Here is another thread that deals with the same thing: http://forums.ni.com/t5/LabVIEW/Replace-LabVIEW-Library-lvlib-poss-bug/m-p/378339/highlight/true#M18...

 

I hope there is a better way.  I'm looking for ideas from the community.

 

 

 

0 Kudos
Message 1 of 2
(2,442 Views)

The contents in this article might be relevant for what you are trying to do:

 

http://www.ni.com/white-paper/6524/en/

Michael L.
Sales Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,391 Views)