mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
parent
f9f485c99e
commit
3fa3e05bfd
@ -2593,9 +2593,9 @@ std::string CmdProxy::AdcVpp(int action) {
|
|||||||
} else if (args.size() > 2 || args.size() < 1) {
|
} else if (args.size() > 2 || args.size() < 1) {
|
||||||
WrongNumberOfParameters(1);
|
WrongNumberOfParameters(1);
|
||||||
}
|
}
|
||||||
det->setADCVpp(StringTo<int>(args[1]), mV,
|
det->setADCVpp(StringTo<int>(args[0]), mV,
|
||||||
std::vector<int>{det_id});
|
std::vector<int>{det_id});
|
||||||
os << args[1] << (mV ? " mV\n" : "\n");
|
os << args[0] << (mV ? " mV\n" : "\n");
|
||||||
} else {
|
} else {
|
||||||
throw RuntimeError("Unknown action");
|
throw RuntimeError("Unknown action");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user