Waveform VIs and Functions

Owning Palette: Programming VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

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 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.
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. Wire data to the waveform in input to determine the polymorphic instance to use or manually select the instance.
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 Components (Analog Waveform)Returns 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. Wire data to the waveform in input to determine the polymorphic instance to use or manually select the instance.
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 sample rate of the waveform. 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. Wire data to the waveform in input to determine the polymorphic instance to use or manually select the instance.


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.