NI VeriStand - Add Custom Device Waveform 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 waveform item to the device or device subsection specified by Parent Ref in. If the Waveform Name you specify already exists, this VI updates the Waveform information (Data Type, Units, etc.), properties, and the GUID for the configuration page.

Note   For existing waveforms, 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.

Details  

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 waveform, as defined in the custom device XML file. If you do not specify a GUID, this VI uses the default page for the waveform type.
Parent Ref in is the reference to the parent device or device subsection.
Waveform Name specifies the name of the new waveform. If the name you specify already exists, this VI overwrites the existing waveform settings and the values of any properties with names that match names you specify in the Property names array.
Waveform specifies the data type and units of the waveform.
Data Type specifies the type of the waveform with respect to the custom device.

0Double—Specifies to represent waveform data as double-precision, floating-point values.
1Complex Double—Specifies to represent waveform data as complex double-precision, floating-point values.
Units specifies the units to associate with the waveform.
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 TRUE if a new waveform. This output is FALSE is the VI updates an existing waveform.
Waveform Ref returns a reference to the waveform.
error out contains error information. This output provides standard error out functionality.

NI VeriStand - Add Custom Device Waveform Details

On a computer with LabVIEW installed, refer to the Waveform Analysis and Generation Custom Device Project.lvproj in the labview\examples\NI Veristand\Custom Devices\Waveform Analysis and Generation directory for an example of using this VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful