Scaling and Mapping (Linear Scale) (G Dataflow)

Version:

Scales a signal based on a straight line.

signal

The input signal.

This input supports the following data types:

• Waveform
• Array of waveforms
• 1D array of double-precision, floating-point numbers
• 2D array of double-precision, floating-point numbers

scale

Slope used for linear scaling.

The following equation defines linear scaling: $y=mx+b$, where m is scale.

Default: 1

offset

Intercept used for linear scaling.

The following equation defines linear scaling: $y=mx+b$, where b is offset.

Default: 0

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error

scaled signal

Result of scaling the input signal.

This output can return the following data types:

• Waveform
• Array of waveforms
• 1D array of double-precision, floating-point numbers
• 2D array of double-precision, floating-point numbers

error out

Error information. The node produces this output according to standard error behavior.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported