Library Methods

Requires: Base Development System

Inherits from ProjectItem. View the class hierarchy.

Use these methods to configure LabVIEW project libraries.

MethodDescription
Apply Icon To Existing VI ItemsApplies the icon for a library to the icons of all objects in the library. You can use this method to update the icons for objects in a library after you edit the library icon. This method loads member objects of the library into memory if they are not already in memory. Callers might be prompted to provide VI passwords or to save the loaded VIs. Details
Disconnect From LibraryDisconnects a LabVIEW project library that is a sublibrary of another project library from the owning project library. Details
Disconnect Variables From TypedefsDisconnects variables in the library from type definitions. Details
Friends:Add Friend LibraryAdds a friend to the list of friends of this library. Details
Friends:Add Friend VIAdds a friend to the list of friends of this library. Details
Friends:Remove Friended VI or LibraryRemoves a friend from the list of friends of this library. Details
Hilite In Project WindowShows this library in a project window. If the library is already in a project window, this will show the project window and set focus to the library item in the project. If the library is already in a library-only project window for which it is the root item, this will show the library-only project window. If the library is not in any project window, this will open a library-only project window containing the library. Details
Icon:GetRetrieves the icon associated with a LabVIEW project library. Details
Icon:SetSets the icon for a project library from image data you specify. Details
Library Tag:DeleteDeletes a tag from the LabVIEW project library. Details
Library Tag:GetRetrieves a tag set on the LabVIEW project library. Details
Library Tag:Get NamesRetrieves a list of names for all tags set on the LabVIEW project library. Details
Library Tag:SetSets a tag on the LabVIEW project library. Details
Lock State:GetReturns the lock state of the LabVIEW project library and indicates whether the password for the project library is in the password cache. Details
Lock State:SetSets the level of editing permission for a LabVIEW project library, including the password. Details
Save:CopySaves a copy of the LabVIEW project library file. Details
Save:For PreviousSaves a copy of the project library and all items within the project library that is readable by LabVIEW 8.0 and later. This method is similar to the LabVIEW Version selection on the Save for Previous Version dialog box. Details
Save:LibrarySaves the LabVIEW project library file. You also can right-click the project library in the Project Explorer window and select Save As from the shortcut menu to save the project library file. Details
Source Scope:GetRetrieves the access scope for an item that the LabVIEW project library owns, such as public or private access. Details
Source Scope:SetSets the access scope of an item that the LabVIEW project library owns, such as public or private access. Details
Source Scope:Set and PropagateSets the access scope of an item that the LabVIEW project library owns, such as public or private access. If the item is a dynamic dispatch VI, LabVIEW also changes the scope of other implementations. Details