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 Object | Description |
|---|---|
| Align Waveform Timestamps | Replaces 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 Digital | Converts analog waveform to a digital waveform or digital data. You must manually select the polymorphic instance you want to use. |
| Build Waveform | Builds 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 dt | Replaces 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 Analog | Converts a digital waveform or digital data to analog waveform. You must manually select the polymorphic instance you want to use. |
| Get Final Time Value | Returns 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 Attribute | Retrieves 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 | 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 Subset | Retrieves 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 Array | Creates 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 Value | Returns 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 Array | Selects 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 t | Multiplies 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 Attribute | Adds or replaces a waveform attribute. You can use any type of data for the value of the attribute. |
| Waveform Duration | Computes 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. |
| Subpalette | Description |
|---|---|
| Analog Waveform VIs and Functions | Use the Analog Waveform VIs and functions to perform arithmetic and comparison functions on waveforms. |
| Digital Waveform VIs and Functions | Use the Digital Waveform VIs and functions to perform operations on digital waveforms and digital data. |
| Waveform File I/O VIs | Use the Waveform File I/O VIs to write waveform data to and read waveform data from files. |