Adding Custom Device Channels and Waveforms

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

Parent Topic: Configuring the Appearance and Components of a Custom Device

To add channels to a custom device, use the Add Custom Device Channel VI within any VI in your Custom Device Library that runs on the host computer. Typically, you add channels in the Initialization VI so they appear when an operator adds the custom device to the system definition.

The process for adding waveforms to a custom device is very similar to the process for adding channels. Simply use the Add Custom Device Waveform VI instead of the Add Custom Device Channel VI.

The following block diagram illustrates an Initialization VI customized to add two input channels and one output channel.

The following list describes important details about the previous block diagram:

  1. The Device Item Ref in control provides each instance of the Add Custom Device Channel VI with the reference to the custom device to which to add the channels.
  2. The Channel cluster constant that wires to Add Custom Device Channel VI defines the various properties of the channel, including the type, units, default value, faultability, and scalability of the channel. In this example, two input channels and one output channel will be created.
  3. Channel Name specifies the name of the new channel. In this example, the channel names are A, B, and A+B. Each channel must have a unique name. If the name you specify already exists, this VI overwrites the existing channel settings.

With this configuration, the custom device will create three channels, A, B, and A+B, when you add it to a system definition.

Related Links

Custom Device Channels and Waveforms

Add Custom Device Channel VI

Add Custom Device Waveform VI

WAS THIS ARTICLE HELPFUL?

Not Helpful