
BRXman (Customer) asked a question.
The scale statement help file clearly states "NOT for clamping actual output value." Please add a checkbox in the SCALE statement TO CLAMP THE OUTPUT VALUES. This is of immense value when processing mA readings. Since the functionality is NOT there, i have to add tons of statements to manually do the clamping outside the SCALE statement.
There's also a CLAMP instruction. Regardless, clamping is common when doing scale, which is why we added it as part of LERP, but originally did not provide it directly in SCALE.
For now, look at replacing SCALE/logic with LERP (Linear intERPolation - multi-step scaling), or look at adding the CLAMP instruction after the SCALE to replace the extra logic that you added to clamp manually.