Libraries
- Updated2024-05-31
- 1 minute(s) read
Libraries
A library is a collection of source files, such as VIs, type definitions, 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. 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.
Related Information
- Organizing Code to Avoid Name Collisions
A namespace is a container used to organize files into logical groups. Items in the same namespace must have a unique name. Namespaces help to prevent name collisions.