A library is a collection of source files, such as VIs, G Types, classes, and other support files. You can use a library to organize source files into a single hierarchy of items.
A library allows you to reuse code across multiple applications without having to implement the same functionality in each application. Your code must be part of a library before you can reuse it across applications.
Use a Library document (.gcomp) to create a library from scratch or from existing files. The Library document allows you to perform the following actions:
Organize files using namespaces to avoid name collisions
Customize the organization of files on the palette
Enable source files to be called from other applications and libraries
Build source files into a G loadable library (.gll) that dynamically loads when its top-level application launches. To build a library into a .gll file, you must build the library along with the top-level application that calls items in the library.
On FPGA, real-time, or web server targets, you cannot build a library into a .gll output. Source files in the library are directly built into an FPGA, real-time, or web application.