Map Ranges
- Updated2023-02-17
- 3 minute(s) read
Map Ranges
Creates a custom scale that scales values proportionally from a range of pre-scaled values to a range of scaled values.
.gvi.png?_LANG=enus)
Inputs/Outputs

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

pre-scaled low
Smallest value in the range of pre-scaled values.
Default value: -1

pre-scaled high
Largest value in the range of pre-scaled values.
Default value: 1

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

scaled low
Smallest value in the range of scaled values.
Default value: -1

scaled high
Largest value in the range of scaled values.
Default value: 1

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

scale
Scaling factor.

offset
Offset factor.

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