Table Of Contents

Libraries

Version:
Last Modified: April 15, 2020

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​.
  • Build source files into a G loadable library (.gll) directly.
    spd-note-note
    Note  

    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.


Recently Viewed Topics