LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I combine global shared variable libraries?

Solved!
Go to solution

Every time I add a Global Shared Variable, another Untitled Library (lvlib) is added to my project.  I now have 11 of them!  Can these be combined into one library?

0 Kudos
Message 1 of 3
(2,113 Views)
Solution
Accepted by topic author DanB.

Yes.

 

I'm not sure how you are created your shared variables.  I imagine if you do it from a higher level of the project, it creates a new library and a variable within it.

If you create a new variable by right clicking on an existing library in the project, you should place the new variable within that library.

 

If they are all "Untitled", that means they probably haven't been saved yet.  You should be able to drag them from one library to another within the Project Explorer window.  Don't forget to save the final library.

0 Kudos
Message 2 of 3
(2,111 Views)

Thanks!!  Your siggestions worked perfectly.

 

Dragging the variables from one library to another worked fine, then I just renamed and saved my full library and deleted the empty ones.

 

I see how you can create the variables by rt-clicking the library.  Then you can just drag copies into the VI where they are needed.

0 Kudos
Message 3 of 3
(2,068 Views)