Waveform Scale and Offset VI
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Scales the waveform data using the equation waveform out = (scale * waveform in + offset).

Inputs/Outputs
waveform in
—
waveform in is the waveform for which you want to multiply the data values.
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.
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.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
waveform out
—
waveform out is the resulting waveform with the new scaled data values.
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
waveform in
—
offset
—
error in (no error)
—
waveform out
—
error out
—