mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 11:30:43 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
commit
a57c677105
@ -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