mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
moved startframeindice to before stop listening for gotthard
This commit is contained in:
parent
3ee146a2ca
commit
5682a6b458
@ -1699,12 +1699,17 @@ int UDPStandardImplementation::startListening(){
|
|||||||
|
|
||||||
//problem in receiving or end of acquisition
|
//problem in receiving or end of acquisition
|
||||||
if((rc < expected)||(rc <= 0)){
|
if((rc < expected)||(rc <= 0)){
|
||||||
|
if(myDetectorType != EIGER){
|
||||||
|
//start indices for each start of scan/acquisition - this should be done earlier for normal detectors
|
||||||
|
if((!measurementStarted) && (rc > 0) && (!ithread))
|
||||||
|
startFrameIndices(ithread);
|
||||||
|
}
|
||||||
stopListening(ithread,rc,packetcount,total);
|
stopListening(ithread,rc,packetcount,total);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
///*
|
///*
|
||||||
//start indices for each start of scan/acquisition - this should be done after to ignore first incomplete frames
|
//eiger - start indices for each start of scan/acquisition - this should be done after to ignore first incomplete frames
|
||||||
if((!measurementStarted) && (rc > 0) && (!ithread))
|
if((!measurementStarted) && (rc > 0) && (!ithread))
|
||||||
startFrameIndices(ithread);
|
startFrameIndices(ithread);
|
||||||
//*/
|
//*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user