mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 01:55:27 +01:00
initializing variables and copying ot gui only full frames
This commit is contained in:
@@ -1890,7 +1890,7 @@ int UDPStandardImplementation::startWriting(){
|
||||
}
|
||||
else{
|
||||
//copy to gui
|
||||
if((packetsPerFrame * numpackets) == bufferSize){
|
||||
if(numpackets == packetsPerFrame * numJobsPerThread){ //only full frames
|
||||
copyFrameToGui(NULL,-1,wbuf[0]+HEADER_SIZE_NUM_TOT_PACKETS);
|
||||
#ifdef VERYVERBOSE
|
||||
cout << ithread << " finished copying" << endl;
|
||||
|
||||
Reference in New Issue
Block a user