Normalize Range

Transforms a signal so that its maximum value is scaled to a specified high value and its minimum value is scaled to a specified low value.

1378

Inputs/Outputs

datatype_icon

reset

A Boolean that specifies whether to reset the internal state of the node.

True Resets the internal state of the node.
False Does not reset the internal state of the node.

This input is available only if you wire a double-precision, floating-point number to signal.

Default value: False

datatype_icon

signal

Input signal.

This input accepts the following data types:

  • Waveform
  • 1D array of waveforms
  • Double-precision, floating-point number
  • 1D array of double-precision, floating-point numbers
  • 2D array of double-precision, floating-point numbers
datatype_icon

sample length

Length of each set of data.

The node performs computation for each set of data. sample length must be greater than zero.

This input is available only if you wire a double-precision, floating-point number to signal.

Default value: 100

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

scaled low

Smallest value in the range of scaled values.

Default value: -1

datatype_icon

scaled high

Largest value in the range of scaled values.

Default value: 1

datatype_icon

scaled signal

Result of scaling the input signal.

This output can return the following data types:

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

scale

Scaling factor.

datatype_icon

offset

Offset factor.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior