Added remote callable function for confCalPulseLocal as described in Issue #129.
Description
Added remote callable function for confCalPulseLocal. Along with it, I also updated the error message of in the local function confCalPulseLocal for the scenario having VFAT channel > 128.
else if (ch >= 128) { //Case: Bad Config, asked for OR of all channels
la->response->set_string("error","confCalPulseLocal(): I was told to calpulse (on/off) channels > 128.");
return false;
} //End Case: Bad Config, asked for OR of all channels
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Motivation and Context
How Has This Been Tested?
This has been tested by running the script using its various combination of input parameter. Then read the same written register using gem_reg.py tool.
Screenshots (if appropriate):
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Added remote callable function for confCalPulseLocal as described in Issue #129.
Description
Added remote callable function for confCalPulseLocal. Along with it, I also updated the error message of in the local function confCalPulseLocal for the scenario having VFAT channel > 128.
Previous behaviour
https://github.com/cms-gem-daq-project/ctp7_modules/blob/ab4ddd0019976031c39251b719c698873b978c45/src/calibration_routines.cpp#L45-L48
Current behaviour
https://github.com/ram1123/ctp7_modules/blob/ad9d0906773d139067c0b7dc05fbd918e2f17aca/src/calibration_routines.cpp#L56-L59
Types of changes
Motivation and Context
How Has This Been Tested?
This has been tested by running the script using its various combination of input parameter. Then read the same written register using gem_reg.py tool.
Screenshots (if appropriate):
Checklist: