help in cmdline, fixed get for daclist in python

This commit is contained in:
maliakal_d 2022-03-23 11:27:52 +01:00
parent 9995b74217
commit 0803f1bc1f
2 changed files with 11 additions and 6 deletions

View File

@ -1571,8 +1571,12 @@ class Detector(CppDetectorApi):
@property
def daclist(self):
"""Gets the list of enums for every dac for this detector."""
return self.getDacList()
"""
List of enums for every dac for this detector.
:setter: Only implemented for Chiptestboard
"""
return self.getDacNames()
@property
def dacvalues(self):

View File

@ -1128,10 +1128,11 @@ std::string CmdProxy::DacList(const int action) {
std::ostringstream os;
os << cmd << ' ';
if (action == slsDetectorDefs::HELP_ACTION) {
os << "\n\t\tGets the list of dac names for every dac for this "
"detector.\n\t[dacname1 dacname2 .. dacname18] "
"\n\t\t[ChipTestBoard] Set the list of dac names for this "
"detector."
os << "\n\t[dacname1 dacname2 .. dacname18] \n\t\t[ChipTestBoard] Set "
"the list of dac names for this detector.\n\t\t[All] Gets the "
"list "
"of "
"dac names for every dac for this detector."
<< '\n';
} else if (action == slsDetectorDefs::GET_ACTION) {
if (!args.empty()) {