Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Waveform VIs and Functions

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Use the Waveform VIs and functions to build waveforms that include the waveform values, channel information, and timing information, and to set and retrieve waveform attributes and components.

The VIs and functions on this palette can return general LabVIEW error codes or specific waveform error codes.

Palette ObjectDescription
Align Waveform TimestampsReplaces all the time stamp values (t0) in waveforms in with the value of the index element in the array. The data type you wire to the waveforms in input and the data type of the Y component of the analog waveform determine the polymorphic instance to use.
Analog to DigitalConverts analog waveform to a digital waveform or digital data. You must manually select the polymorphic instance you want to use.
Build WaveformBuilds an analog waveform or modifies an existing waveform. If you do not wire the waveform input, the VI creates a new waveform based on the components you wire. If you wire the waveform input, the VI modifies the waveform based on the components you wire.
Copy Waveform dtReplaces all dt values with the dt value of the waveform at index position in waveforms in. The data type you wire to the waveforms in input and the data type of the Y component of the analog waveform determine the polymorphic instance to use.
Digital to AnalogConverts a digital waveform or digital data to analog waveform. You must manually select the polymorphic instance you want to use.
Get Final Time ValueReturns the ending time value of waveform in. The formula used is xf = x0 + duration of waveform in. The data type you wire to the waveform in input determines the polymorphic instance to use.
Get Waveform AttributeRetrieves the names and values of all attributes or the value of a single attribute, depending on whether you wire the name parameter.
Get Waveform ComponentsReturns the analog waveform you specify. You specify components by clicking on the center of the output terminal and selecting the component you want.
Get Waveform SubsetRetrieves a subset of a waveform at a specified time or index. You must manually select the polymorphic instance you want to use.
Get Waveform Time ArrayCreates an array of waveform time stamps. Each element in the array is the time stamp for each data value in the waveform. The data type you wire to the waveform in input determines the polymorphic instance to use.
Get XY ValueReturns the X and Y value of a waveform or digital data set. The data type you wire to the waveform in input and the data type of the Y component of the analog waveform determine the polymorphic instance to use.
Index Waveform ArraySelects one waveform out of an array of analog or digital waveforms by array index or channel name. The data types you wire to the waveform array and index inputs and the data type of the Y component of the analog waveform determine the polymorphic instance to use.
Scale Delta tMultiplies the delta t component of the waveform by the specified scale factor. Generally, this lengthens or shortens the waveform's sample rate. The data type you wire to the waveform in input and the data type of the Y component of the analog waveform determine the polymorphic instance to use.
Set Waveform AttributeAdds or replaces a waveform attribute. You can use any type of data for the value of the attribute.
Waveform DurationComputes the duration of waveform in using the following equation: duration = (#samples-1) × dx. The data type you wire to the waveform in input determines the polymorphic instance to use.


SubpaletteDescription
Analog Waveform VIs and FunctionsUse the Analog Waveform VIs and functions to perform arithmetic and comparison functions on waveforms.
Digital Waveform VIs and FunctionsUse the Digital Waveform VIs and functions to perform operations on digital waveforms and digital data.
Waveform File I/O VIsUse the Waveform File I/O VIs to write waveform data to and read waveform data from files.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit