mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
help in cmdline, fixed get for daclist in python
This commit is contained in:
parent
9995b74217
commit
0803f1bc1f
@ -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):
|
||||
|
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user