diff --git a/slsDetectorSoftware/src/CmdProxy.cpp b/slsDetectorSoftware/src/CmdProxy.cpp index f76b8f779..5fa8adeee 100644 --- a/slsDetectorSoftware/src/CmdProxy.cpp +++ b/slsDetectorSoftware/src/CmdProxy.cpp @@ -2393,8 +2393,7 @@ std::string CmdProxy::ConfigureADC(int action) { std::ostringstream os; os << cmd << ' '; if (action == defs::HELP_ACTION) { - os << "[chip index 0-9 [setting individual chips not yet implemented], " - "-1 for all] [adc index 0-31, -1 for all] [7 " + os << "[chip index 0-9, -1 for all] [adc index 0-31, -1 for all] [7 " "bit configuration value in hex]\n\t[Gotthard2] Sets " "configuration for specific chip and adc, but configures 1 chip " "(all adcs for that chip) at a time." diff --git a/slsDetectorSoftware/tests/test-CmdProxy-gotthard2.cpp b/slsDetectorSoftware/tests/test-CmdProxy-gotthard2.cpp index 8441b6321..1be0fb46c 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy-gotthard2.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy-gotthard2.cpp @@ -719,13 +719,12 @@ TEST_CASE("confadc", "[.cmd]") { REQUIRE(oss.str() == "confadc 0x11\n"); } - // doesnt exist in hw yet to set individual chips (no file) for (int i = 0; i != ndet; ++i) { - // for (int j = 0; j != nchip; ++j) { - for (int k = 0; k != nadc; ++k) { - det.setADCConfiguration(-1, k, prev_val[i][0][k], {i}); + for (int j = 0; j != nchip; ++j) { + for (int k = 0; k != nadc; ++k) { + det.setADCConfiguration(-1, k, prev_val[i][j][k], {i}); + } } - //} } } else { REQUIRE_THROWS(proxy.Call("confadc", {}, -1, GET));