Creating a LabVIEW Executable that References Class VIs stored in an LLB
Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 8.2
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Toolkits>>Application Builder
Problem: I have a class in LabVIEW that needs to be referenced from multiple programs. Can I build an executable and have the class VIs compiled into a
separate LLB at the same time?
Solution: In order to compile the class VIs into an LLB, you must first create an
LLB Destination. An example project,
To NI.zip, has been attached to illustrate this functionality.
- From the project explorer, expand the Build Specifications node and double-click the Unit Test Timer llb build specification.
- Select Destinations from the category list and click the blue addition sign to create a new destination.
- Notice that a destination, Timer 8.2, has already been created as an LLB by selecting Destination is LLB.

- After creating the LLB destination, select Source File Settings from the category list.
- You can now set your class folder to point the newly created destination from the destination pull-down menu on the right.
- Notice that the Timer class folder has already been set to the Timer 8.2 destination.
- Selecting Set destination for all contained items will ensure that all the files and folders in the Timer class folder are included in the resulting LLB.

- Click the Build button and navigate to
C:\To NI\Build\
Timer 8.2.llb should be created along side the executable.
Related Links: LabVIEW Discussion Forum: LVOOP class plugins in LV binary application
Attachments:
- destinations.bmp
- source_file_settings.bmp
- To NI.zip
Report Date: 12/04/2006
Last Updated: 12/11/2007
Document ID: 443AONSN