mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
ctb: gui call back fix
This commit is contained in:
@ -365,9 +365,11 @@ int DetectorImpl::createReceivingDataSockets(const bool destroy) {
|
|||||||
FILE_LOG(logINFO) << "Destroyed Receiving Data Socket(s)";
|
FILE_LOG(logINFO) << "Destroyed Receiving Data Socket(s)";
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
if (client_downstream) {
|
||||||
|
return OK;
|
||||||
|
}
|
||||||
FILE_LOG(logINFO) << "Going to create data sockets";
|
FILE_LOG(logINFO) << "Going to create data sockets";
|
||||||
|
|
||||||
size_t numSockets = detectors.size();
|
size_t numSockets = detectors.size();
|
||||||
size_t numSocketsPerDetector = 1;
|
size_t numSocketsPerDetector = 1;
|
||||||
if (multi_shm()->multiDetectorType == EIGER) {
|
if (multi_shm()->multiDetectorType == EIGER) {
|
||||||
@ -557,7 +559,9 @@ void DetectorImpl::readFrameFromReceiver() {
|
|||||||
uint32_t yoffset = coordY * nPixelsY;
|
uint32_t yoffset = coordY * nPixelsY;
|
||||||
uint32_t singledetrowoffset = nPixelsX * bytesPerPixel;
|
uint32_t singledetrowoffset = nPixelsX * bytesPerPixel;
|
||||||
uint32_t rowoffset = nX * singledetrowoffset;
|
uint32_t rowoffset = nX * singledetrowoffset;
|
||||||
|
if (multi_shm()->multiDetectorType == CHIPTESTBOARD) {
|
||||||
|
singledetrowoffset = size;
|
||||||
|
}
|
||||||
FILE_LOG(logDEBUG1)
|
FILE_LOG(logDEBUG1)
|
||||||
<< "Multi Image Info:"
|
<< "Multi Image Info:"
|
||||||
"\n\txoffset: "
|
"\n\txoffset: "
|
||||||
|
Reference in New Issue
Block a user