mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
somewhere
This commit is contained in:
Binary file not shown.
@ -1438,7 +1438,7 @@ int* multiSlsDetector::getDataFromDetector() {
|
|||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
cout << "Detector " << id << " does not have data left " << endl;
|
cout << "Detector " << id << " does not have data left " << endl;
|
||||||
#endif
|
#endif
|
||||||
if(detectors[id]->getDetectorsType() != EIGER)
|
if((detectors[id]->getDetectorsType() != EIGER)||(detectors[id]->getDetectorsType() != JUNGFRAU))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
p+=n/sizeof(int);
|
p+=n/sizeof(int);
|
||||||
@ -1447,6 +1447,7 @@ int* multiSlsDetector::getDataFromDetector() {
|
|||||||
|
|
||||||
//eiger returns only null
|
//eiger returns only null
|
||||||
detectorType types = getDetectorsType();
|
detectorType types = getDetectorsType();
|
||||||
|
//if(types == EIGER )
|
||||||
if(types == EIGER || types == JUNGFRAU)
|
if(types == EIGER || types == JUNGFRAU)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
@ -1454,9 +1455,9 @@ int* multiSlsDetector::getDataFromDetector() {
|
|||||||
for (int id=0; id<thisMultiDetector->numberOfDetectors; id++) {
|
for (int id=0; id<thisMultiDetector->numberOfDetectors; id++) {
|
||||||
if (id!=nodatadet) {
|
if (id!=nodatadet) {
|
||||||
if (detectors[id]) {
|
if (detectors[id]) {
|
||||||
#ifdef VERBOSE
|
//#ifdef VERBOSE
|
||||||
cout << "Stopping detector "<< id << endl;
|
cout << "Stopping detector "<< id << endl;
|
||||||
#endif
|
//#endif
|
||||||
detectors[id]->stopAcquisition();
|
detectors[id]->stopAcquisition();
|
||||||
if(detectors[id]->getErrorMask())
|
if(detectors[id]->getErrorMask())
|
||||||
setErrorMask(getErrorMask()|(1<<id));
|
setErrorMask(getErrorMask()|(1<<id));
|
||||||
|
Reference in New Issue
Block a user