Example of middleware device to assist piping numeric values of different ranges. Uses ServerStorage to persist range settings.
Can be piped as follows (after setting relevant ranges):
Any numeric value
Range converter (Input)
Range converter (Output)
Any numeric input
Values:
Input - input value
Output - converted value
Input min, Input max - expected range of input
Output min, Output max - desired range of output
Invert - reversing output value