LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I programmatically copy and delete VIs within LLBs?

When I try to programmatically copy a vi within a llb using the "copy"-vi I get an error. The same occurs with "delete". Is there any way in LabView 5.1 to get that going? Does it work in LV 6? Thanks for any idea,
Daniel Troendle
0 Kudos
Message 1 of 3
(2,955 Views)
There is program included with the Professional version (not sure about others) called File Manager. This is a VI for which the source code is provided and one of the subVIs is called Librarian.vi and will do exactly what you want I think.
0 Kudos
Message 2 of 3
(2,955 Views)
Dennis is partially correct. I think all LV versions have it, because it is used in the menu system to manage VI libraries.

If you go to vi.lib->utility->libraryn.llb, you'll see the librarian vis, including the librarian delete. This will allow you to delete a file in a library.

I don't have the professional version, and I have it. I tried it, and it works.

Mark
0 Kudos
Message 3 of 3
(2,955 Views)