Waveform Scale and Offset VI

Owning Palette: Analog Waveform VIs and Functions

Requires: Base Development System

Scales the waveform data using the equation waveform out = (scale * waveform in + offset).

Example

 Add to the block diagram  Find on the palette
waveform in is the waveform for which you want to multiply the data values.
offset is the value to add to the waveform values according to the following equation: y = (scale * x) + offset, where x is the data from the waveform in and y is the data written to the waveform out. The default is 0.
scale is the number by which you multiply the waveform data values. A value of greater than zero but less than 1 decreases the waveform amplitude. A value of greater than 1 increases the waveform amplitude. The default is 1.0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
waveform out is the resulting waveform with the new scaled data values.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Waveform - Scale and Offset VI in the labview\examples\Waveform directory for an example of using the Waveform Scale and Offset VI.

 Open example  Find related examples