eiger client: clkdivider set to 0 for dr of 4, 8, 16 and to 2 for dr 32

This commit is contained in:
2020-04-03 09:38:11 +02:00
parent a1d91e590e
commit 328375924f

View File

@ -2976,9 +2976,9 @@ int multiSlsDetector::setDynamicRange(int p) {
if (p == 32) { if (p == 32) {
std::cout << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32" << std::endl; std::cout << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32" << std::endl;
setSpeed(CLOCK_DIVIDER, 2); setSpeed(CLOCK_DIVIDER, 2);
} else if (p == 16) { } else {
std::cout << "Setting Clock to Half Speed for Dynamic Range of 16" << std::endl; std::cout << "Setting Clock to Full Speed for Dynamic Range of " << p << std::endl;
setSpeed(CLOCK_DIVIDER, 1); setSpeed(CLOCK_DIVIDER, 0);
} }
if (p != -1) if (p != -1)
updateOffsets(); updateOffsets();