ICSHWI-9569 add calculated AdcScale range checking
Merge Request to solve ICSHWI-9569 error log messages found on the BCM IOC after implementation of the auto calibrator (PBIBCM-152).
This check is done only when CalibrationPulseEnable PV is set. The issue was not identified before because we have tested the implementation using the calibrator unit, which doesn't generate values out of range (between 0 and 2) for the AdcScale PV. If a value out of range is written directly to the AdcScale PV then an error log will be generated anyway.
Tested on CPU11. Ping @mehdimohammednezhad and @hinkokocevar.
Edited by Juliano Murari