From 328375924fec177b6ca43cc429d5ef1d19b02bb6 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Fri, 3 Apr 2020 09:38:11 +0200 Subject: [PATCH] eiger client: clkdivider set to 0 for dr of 4, 8, 16 and to 2 for dr 32 --- slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index b2dc2bfa2..0a69c8776 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -2976,9 +2976,9 @@ int multiSlsDetector::setDynamicRange(int p) { if (p == 32) { std::cout << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32" << std::endl; setSpeed(CLOCK_DIVIDER, 2); - } else if (p == 16) { - std::cout << "Setting Clock to Half Speed for Dynamic Range of 16" << std::endl; - setSpeed(CLOCK_DIVIDER, 1); + } else { + std::cout << "Setting Clock to Full Speed for Dynamic Range of " << p << std::endl; + setSpeed(CLOCK_DIVIDER, 0); } if (p != -1) updateOffsets();