diff --git a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer index 38f52965c..d2994ade6 100755 Binary files a/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer and b/slsDetectorServers/gotthard2DetectorServer/bin/gotthard2DetectorServer_developer differ diff --git a/slsDetectorServers/gotthard2DetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/gotthard2DetectorServer/slsDetectorFunctionList.c index b6d013f9b..5d255bb49 100644 --- a/slsDetectorServers/gotthard2DetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/gotthard2DetectorServer/slsDetectorFunctionList.c @@ -515,6 +515,12 @@ int setOnChipDAC(enum ONCHIP_DACINDEX ind, int chipIndex, int val) { return FAIL; } onChipdacValues[ind][chipIndex + 1] = val; + if (chipIndex == -1) { + int i; + for (i = 1; i < NCHIP + 1; ++i) { + onChipdacValues[ind][i] = val; + } + } return OK; }