Building a Custom Device
- Updated2025-04-08
- 2 minute(s) read
Building a Custom Device
Build a custom device for distribution to VeriStand.
The process for building the source distribution for a custom device is the same as
the process for building any source distribution in LabVIEW. When you build a custom
device, the Build Specifications item in the LabVIEW project must include source
distributions called Configuration and
Engine.
Note For more information on building
source distributions, refer to the LabVIEW Help by selecting in LabVIEW.
- Open your LabVIEW project.
-
Create a Configuration source distribution.
- In Project Explorer, right-click Build Specifications and select .
- In the My Source Distribution Properties dialog box, click Information, and enter the Build specification name as Configuration.
- Enter a Destination directory.
-
Click Source Files and determine which files to
include and exclude.
All dependency files that the custom device accesses on the target must exist in the LabVIEW project and appear in the Always Included list for the appropriate source distribution. You should include any dynamically-loaded dependencies, such as pages and the Initialization VI.
Note You must include the Custom Device XML file in the Configuration source distribution. - Click Destinations and set the Destination type to LLB.
-
Click Additional Exclusions, and disable
Modify project library file after removing unused
members.
Note This option can cause an error when you load the custom device in VeriStand.
- Click OK.
-
Create an Engine source distribution.
- In Project Explorer, right-click Build Specifications and select .
- In the My Source Distribution Properties dialog box, click Information, and enter the Build specification name as Engine.
- Enter a Destination directory.
Note Use the same Destination directory as the Configuration source distribution. Using one directory makes it easier to distribute the custom device.- Click Source Files and determine which files to include and exclude.
- Click Destinations and set the Destination type to LLB.
- Click Additional Exclusions, and disable Modify project library file after removing unused members.
- Click OK.
- Save the LabVIEW project.
- Right-click Build Specifications and select Build All.