With corrections

This commit is contained in:
Erik Frojdh
2022-03-28 14:30:45 +02:00
parent 039e1fd829
commit 13ec32c79a
4 changed files with 5 additions and 6 deletions

View File

@ -1146,6 +1146,9 @@ std::string CmdProxy::DacList(const int action) {
throw sls::RuntimeError("This detector already has fixed dac "
"names. Cannot change them.");
}
if (det_id != -1) {
throw sls::RuntimeError("Cannot configure dacnames at module level");
}
if (args.size() != 18) {
WrongNumberOfParameters(18);
}