mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 06:24:58 +01:00
getting dr from rxr fixed
This commit is contained in:
@@ -563,10 +563,11 @@ int UDPStandardImplementation::getDynamicRange() const{
|
||||
|
||||
int32_t UDPStandardImplementation::setDynamicRange(int32_t dr){ FILE_LOG(logDEBUG) << __AT__ << " called";
|
||||
|
||||
cout << "Setting Dynamic Range" << endl;
|
||||
|
||||
int olddr = dynamicRange;
|
||||
|
||||
if(dr >= 0){
|
||||
cout << "Setting Dynamic Range to " << dr << endl;
|
||||
|
||||
dynamicRange = dr;
|
||||
|
||||
if(myDetectorType == EIGER){
|
||||
@@ -615,7 +616,8 @@ int32_t UDPStandardImplementation::setDynamicRange(int32_t dr){ FILE_LOG(logDEB
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}else cout << "Getting Dynamic Range " << endl;
|
||||
|
||||
|
||||
return getDynamicRange();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user