Waveform Scale and Offset VI

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


icon

Inputs/Outputs

  • cmsdt.png waveform in

    waveform in is the waveform for which you want to multiply the data values.

  • cdbl.png offset

    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.

  • cdbl.png scale

    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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • imsdt.png waveform out

    waveform out is the resulting waveform with the new scaled data values.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Waveform\Waveform - Scale and Offset.vi