Creating Custom Devices

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

Custom devices enable you to customize and extend the functionality of NI VeriStand by packaging LabVIEW code, or any code you can call from LabVIEW, into a "device" that you can add to an NI VeriStand system definition file and deploy to a target. You typically design custom devices to execute on real-time systems and perform deterministic HIL and RT test procedures. With a custom device, you have the freedom to control the project configuration, execution, and the user interface with which an operator interacts. Custom devices appear in the NI VeriStand System Explorer window configuration tree.

Note  Building custom devices requires LabVIEW 2009 or later and the Application Builder, which is included with the LabVIEW Professional Development System. If you use the LabVIEW Base Development System or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments website at

The version of LabVIEW you use to build a custom device must match the version of NI VeriStand in which you want to run the custom device. For example, a custom device you build in LabVIEW 2011 runs only in NI VeriStand 2011.

A custom device can run either inline or in parallel (asynchronously) with the VeriStand Engine's Primary Control Loop, and can function as a timing and sync device. All custom devices communicate with the VeriStand Engine using channels and properties that you configure.

Related Links

Types of Custom Devices

NI VeriStand Primary Control Loop

Custom Device Channels

Custom Device Item Properties

Components of a Custom Device

A custom device consists of at least two VI libraries (LLBs), Engine.llb and Configuration.llb, and an XML file that tells NI VeriStand how to load, display, use, and deploy the custom device. A custom device can contain additional Engine.llbs to allow for the varying dependencies required by different Operating Systems.

You build the custom device from source distributions in a LabVIEW project. After you build the source distributions, you can distribute the custom device to any computer running the corresponding version of NI VeriStand.

Process for Developing a Custom Device

Custom devices require careful planning, specialized knowledge, and a unique development process. The help topics in this section follow the development process recommended by National Instruments:

  1. Assess whether or not a custom device is the best customization option for your needs, and ensure you have the specialized knowledge needed to create custom devices.
  2. Familiarize yourself with the custom device framework.
  3. Plan the custom device.
  4. Implement the custom device.
  5. Debug and benchmark the custom device.
  6. Build and distribute the custom device.


Not Helpful