mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
eiger user: setting clk to 2 for 32 dr, and 1 for 16 dr
This commit is contained in:
parent
e0f645ed4b
commit
6e52c72307
@ -1755,10 +1755,14 @@ int multiSlsDetector::setDynamicRange(int n, int pos){
|
|||||||
|
|
||||||
//for usability for the user
|
//for usability for the user
|
||||||
if (getDetectorsType() == EIGER){
|
if (getDetectorsType() == EIGER){
|
||||||
if(thisMultiDetector->dataBytes == 32)
|
if(thisMultiDetector->dataBytes == 32){
|
||||||
|
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(thisMultiDetector->dataBytes == 16)
|
}
|
||||||
|
else if(thisMultiDetector->dataBytes == 16){
|
||||||
|
std::cout << "Setting Clock to Half Speed for Dynamic Range of 16" << std::endl;
|
||||||
setSpeed(CLOCK_DIVIDER,1);
|
setSpeed(CLOCK_DIVIDER,1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return thisMultiDetector->dataBytes;
|
return thisMultiDetector->dataBytes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user