mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 00:37:12 +02:00
format
This commit is contained in:
@ -2562,8 +2562,9 @@ std::string CmdProxy::AdcVpp(int action) {
|
||||
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[dac or mV value][(optional unit) mV] \n\t[Ctb][Moench] Vpp of "
|
||||
"ADC.\n\t 0 -> 1V ; 1 -> 1.14V ; 2 -> 1.33V ; 3 -> 1.6V ; 4 -> 2V. "
|
||||
"\n\tAdvanced User function!\n"
|
||||
"ADC.\n\t 0 -> 1V ; 1 -> 1.14V ; 2 -> 1.33V ; 3 -> 1.6V ; 4 -> "
|
||||
"2V. "
|
||||
"\n\tAdvanced User function!\n"
|
||||
<< '\n';
|
||||
return os.str();
|
||||
}
|
||||
@ -2593,8 +2594,7 @@ std::string CmdProxy::AdcVpp(int action) {
|
||||
} else if (args.size() > 2 || args.size() < 1) {
|
||||
WrongNumberOfParameters(1);
|
||||
}
|
||||
det->setADCVpp(StringTo<int>(args[0]), mV,
|
||||
std::vector<int>{det_id});
|
||||
det->setADCVpp(StringTo<int>(args[0]), mV, std::vector<int>{det_id});
|
||||
os << args[0] << (mV ? " mV\n" : "\n");
|
||||
} else {
|
||||
throw RuntimeError("Unknown action");
|
||||
|
Reference in New Issue
Block a user