The changes to the .ADC_MONITORING.MONITORING_OFF register had not been forward propagated
Added a new function in utilsbool regExists(localArgs * la, const std::string & regName, lmdb::val * db_res) that is called in all the read/write functions in place of the register name lookup, as this allows other code to check whether the register exists in the LMDB, even if they don't need to create a valid lmdb::val object
The output data format was not tested for 12 OptoHybrids, and was truncating
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
Motivation and Context
Needed to reliably monitor the sensors from the SCA
Description
Several issues were present with the SCA readout:
.ADC_MONITORING.MONITORING_OFF
register had not been forward propagatedutils
bool regExists(localArgs * la, const std::string & regName, lmdb::val * db_res)
that is called in all the read/write functions in place of the register name lookup, as this allows other code to check whether the register exists in the LMDB, even if they don't need to create a validlmdb::val
objectTypes of changes
Motivation and Context
Needed to reliably monitor the sensors from the SCA
How Has This Been Tested?
Problem discovered and tested at P5