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

Waveform Scale and Offset VI

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info

Owning Palette: Analog Waveform VIs and Functions

Requires: Base Package

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

Example

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 example VI in the labview\examples\Waveform\Operations.llb for an example of using the Waveform Scale and Offset VI.


 

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