Map Ranges

Creates a custom scale that scales values proportionally from a range of pre-scaled values to a range of scaled values.

1378

Inputs/Outputs

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

pre-scaled low

Smallest value in the range of pre-scaled values.

Default value: -1

datatype_icon

pre-scaled high

Largest value in the range of pre-scaled values.

Default value: 1

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
  • Double-precision, floating-point number
  • 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