mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
help fix for cmd line
This commit is contained in:
parent
be8284f5c2
commit
a4926e6ae1
@ -670,7 +670,7 @@ std::string CmdProxy::ClockFrequency(int action) {
|
||||
std::ostringstream os;
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[n_clock (0-8)] [freq_in_Hz]\n\t[Gotthard2][Mythen3] Frequency "
|
||||
os << "[n_clock (0-5)] [freq_in_Hz]\n\t[Gotthard2][Mythen3] Frequency "
|
||||
"of clock n_clock in Hz. Use clkdiv to set frequency."
|
||||
<< '\n';
|
||||
} else {
|
||||
@ -703,7 +703,7 @@ std::string CmdProxy::ClockPhase(int action) {
|
||||
std::ostringstream os;
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[n_clock (0-8)] [phase] [deg "
|
||||
os << "[n_clock (0-5)] [phase] [deg "
|
||||
"(optional)]\n\t[Gotthard2][Mythen3] Phase of clock n_clock. If "
|
||||
"deg, then phase shift in degrees, else absolute phase shift "
|
||||
"values."
|
||||
@ -756,7 +756,7 @@ std::string CmdProxy::MaxClockPhaseShift(int action) {
|
||||
std::ostringstream os;
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[n_clock (0-8)]\n\t[Gotthard2][Mythen3] Absolute Maximum Phase "
|
||||
os << "[n_clock (0-5)]\n\t[Gotthard2][Mythen3] Absolute Maximum Phase "
|
||||
"shift of clock n_clock."
|
||||
<< '\n';
|
||||
} else {
|
||||
@ -785,7 +785,7 @@ std::string CmdProxy::ClockDivider(int action) {
|
||||
std::ostringstream os;
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[n_clock (0-8)] [n_divider]\n\t[Gotthard2][Mythen3] Clock "
|
||||
os << "[n_clock (0-5)] [n_divider]\n\t[Gotthard2][Mythen3] Clock "
|
||||
"Divider of clock n_clock. Must be greater than 1."
|
||||
<< '\n';
|
||||
} else {
|
||||
@ -1975,7 +1975,7 @@ std::string CmdProxy::SlowAdc(int action) {
|
||||
result[i] = t[i] / 1000.00;
|
||||
}
|
||||
os << OutString(result) << " mV\n";
|
||||
|
||||
|
||||
} else if (action == defs::PUT_ACTION) {
|
||||
throw sls::RuntimeError("cannot put");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user