mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
Merge branch '3.0.1' into developer
This commit is contained in:
@ -5870,17 +5870,9 @@ void multiSlsDetector::readFrameFromReceiver(){
|
|||||||
if (jungfrau)
|
if (jungfrau)
|
||||||
multiframegain = new char[multidatabytes]();
|
multiframegain = new char[multidatabytes]();
|
||||||
|
|
||||||
|
|
||||||
bool runningList[numSockets];
|
bool runningList[numSockets];
|
||||||
bool connectList[numSockets];
|
bool connectList[numSockets];
|
||||||
|
|
||||||
int numRunning = 0;
|
|
||||||
|
|
||||||
//wait for real time acquisition to start
|
|
||||||
bool running = true;
|
|
||||||
sem_wait(&sem_newRTAcquisition);
|
|
||||||
if(checkJoinThread())
|
|
||||||
running = false;
|
|
||||||
|
|
||||||
for(int i = 0; i < numSockets; ++i) {
|
for(int i = 0; i < numSockets; ++i) {
|
||||||
if(!zmqSocket[i]->Connect()) {
|
if(!zmqSocket[i]->Connect()) {
|
||||||
connectList[i] = true;
|
connectList[i] = true;
|
||||||
@ -5891,8 +5883,14 @@ void multiSlsDetector::readFrameFromReceiver(){
|
|||||||
runningList[i] = false;
|
runningList[i] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
int numRunning = numSockets;
|
||||||
|
|
||||||
numRunning = numSockets;
|
|
||||||
|
//wait for real time acquisition to start
|
||||||
|
bool running = true;
|
||||||
|
sem_wait(&sem_newRTAcquisition);
|
||||||
|
if(checkJoinThread())
|
||||||
|
running = false;
|
||||||
|
|
||||||
|
|
||||||
//exit when last message for each socket received
|
//exit when last message for each socket received
|
||||||
|
Reference in New Issue
Block a user