This commit is contained in:
maliakal_d 2020-08-19 17:27:04 +02:00
parent a287ce46b1
commit 42067b3de3
3 changed files with 11 additions and 2 deletions

View File

@ -620,6 +620,14 @@ class Detector(CppDetectorApi):
return self._register
@property
"""[Jungfrau][Ctb][Moench][Gotthard] Writes to an adc register
Note
-----
Advanced user Function!
:getter: Not implemented
"""
def adcreg(self):
return self._adc_register

View File

@ -1427,7 +1427,8 @@ class Detector {
/** [Gotthard][Jungfrau][Mythen3][Gotthard2][CTB][Moench] */
void executeBusTest(Positions pos = {});
/** [Gotthard][Jungfrau][CTB][Moench] not possible to read back*/
/** [Gotthard][Jungfrau][CTB][Moench] Advanced user Function. not possible
* to read back */
void writeAdcRegister(uint32_t addr, uint32_t value, Positions pos = {});
bool getInitialChecks() const;

View File

@ -2516,7 +2516,7 @@ std::string CmdProxy::AdcRegister(int action) {
if (action == defs::HELP_ACTION) {
os << "[address] [value]\n\t[Jungfrau][Ctb][Moench][Gotthard] Writes "
"to an adc "
"register in hex."
"register in hex. Advanced user Function."
<< '\n';
} else if (action == defs::GET_ACTION) {
throw sls::RuntimeError("Cannot get.");