removed bug, setting dr24 sets dr 32 also for eiger, also added server executable

This commit is contained in:
Dhanya Maliakal 2016-10-25 12:01:31 +02:00
parent 899adbce5b
commit 18c6e8208a
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
#define FEB_PORT 43210
#define BEB_PORT 43212
#define REQUIRED_FIRMWARE_VERSION 14
#define REQUIRED_FIRMWARE_VERSION 16
#define FIRMWAREREV 0xcaba //temporary should be in firmware

View File

@ -1739,7 +1739,7 @@ int slsDetector::setNumberOfModules(int n, dimension d){
int dr=thisDetector->dynamicRange;
if (dr==24)
if ((thisDetector->myDetectorType==MYTHEN) && (dr==24))
dr=32;
thisDetector->dataBytes=thisDetector->nMod[X]*thisDetector->nMod[Y]*thisDetector->nChips*thisDetector->nChans*dr/8;
@ -4539,7 +4539,7 @@ int slsDetector::setDynamicRange(int n){
#ifdef VERBOSE
std::cout<< "Setting dynamic range to "<< n << std::endl;
#endif
if (n==24)
if ((thisDetector->myDetectorType == MYTHEN) &&(n==24))
n=32;