mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10:42 +02:00
eiger: change speed to full speed for dr of 4, 8, 16
This commit is contained in:
parent
e432e6f90d
commit
93ab8d05d7
@ -0,0 +1,2 @@
|
|||||||
|
Draft
|
||||||
|
- dr 4, 8, 16 in eiger -> speed 0, 32 stays same (speed 1)
|
@ -1526,8 +1526,8 @@ int slsDetector::setDynamicRange(int n) {
|
|||||||
// update speed for usability
|
// update speed for usability
|
||||||
if (dr == 32) {
|
if (dr == 32) {
|
||||||
FILE_LOG(logINFO) << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32"; setClockDivider(RUN_CLOCK, 2);
|
FILE_LOG(logINFO) << "Setting Clock to Quarter Speed to cope with Dynamic Range of 32"; setClockDivider(RUN_CLOCK, 2);
|
||||||
} else if (dr == 16) {
|
} else {
|
||||||
FILE_LOG(logINFO) << "Setting Clock to Half Speed to cope with Dynamic Range of 16"; setClockDivider(RUN_CLOCK, 1);
|
FILE_LOG(logINFO) << "Setting Clock to Full Speed to cope with Dynamic Range of " << dr; setClockDivider(RUN_CLOCK, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user