Table Of Contents

Scaling and Mapping (Linear Scale) (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Scales a signal based on a straight line.

    connector_pane_image
    datatype_icon

    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
    datatype_icon

    scale

    Slope used for linear scaling.

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

    Default: 1

    datatype_icon

    offset

    Intercept used for linear scaling.

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

    Default: 0

    datatype_icon

    error in

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

    Default: No error

    datatype_icon

    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
    datatype_icon

    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


    Recently Viewed Topics