NI VeriStand - Add Custom Device Channel VI

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Configuration VIs

Requires: NI VeriStand

Adds a channel to the device or device subsection specified by Parent Ref in. If the Channel Name you specify already exists, this VI updates the Channel information (Type, Units, etc.), properties, and the GUID for the configuration page.

Note   For existing channels, this VI does not delete properties. However, it does overwrite the value of a property if the property name matches a name you specify in the Property names array.

Highlight? specifies whether to make the current item the active item in the System Explorer window configuration tree. The default is FALSE.

If you plan to add or move multiple items at once, National Instruments recommends you only highlight the first item. Highlighting every item as it is added or moved can negatively impact performance.
GUID is the GUID of the page to associate with the new channel, as defined in the custom device XML file. If you do not specify a GUID, this VI uses the default page for the channel type.
Parent Ref in is the reference to the parent device or device subsection.
Channel Name specifies the name of the new channel. If the name you specify already exists, this VI overwrites the existing channel settings and the values of any properties with names that match names you specify in the Property names array.
Channel specifies the type, units, default value, faultability, and scalability of the channel.
Type specifies the type of the channel with respect to the custom device.

0Input—Specifies that the channel receives input data. Select this option if the custom device receives input data from the VeriStand Engine.
1Output—Specifies that the channel returns output values. Select this option if the custom device passes data to the VeriStand Engine.
Units specifies the units to associate with the channel.
Default Value specifies the default value of the channel. The channel retains this value until it receives a new value.
Faultable is TRUE if the channel can be faulted.
Scalable is TRUE if the channel can be scaled.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Property names specifies names of properties to associate with the item. Property names are case-sensitive.
Property Values is an array of values that correspond one-to-one with the properties in the Property names array. Property values can be any standard LabVIEW data type.
Parent Ref out returns the reference to the parent device or device subsection.
Newly Created? returns FALSE if the Channel Name you specify already exists for the custom device. Returns TRUE if the Channel Name you specify does not exist and the VI creates a new channel for the device.
Channel Ref returns a reference to the channel.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful