mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-03 11:20:03 +02:00
debugging
This commit is contained in:
parent
7e9760559c
commit
5316316c66
@ -3125,7 +3125,7 @@ void UDPStandardImplementation::copyFrameToGui(int ithread, char* buffer, uint32
|
|||||||
guiNumPackets[ithread] = numpackets;
|
guiNumPackets[ithread] = numpackets;
|
||||||
strcpy(guiFileName[ithread],completeFileName[ithread]);
|
strcpy(guiFileName[ithread],completeFileName[ithread]);
|
||||||
if(myDetectorType == JUNGFRAU) //copy also the header
|
if(myDetectorType == JUNGFRAU) //copy also the header
|
||||||
memcpy(latestData[ithread],buffer+HEADER_SIZE_NUM_TOT_PACKETS, numpackets*onePacketSize+fifoBufferHeaderSize-HEADER_SIZE_NUM_TOT_PACKETS);
|
memcpy(latestData[ithread],buffer+HEADER_SIZE_NUM_TOT_PACKETS, bufferSize+fifoBufferHeaderSize-HEADER_SIZE_NUM_TOT_PACKETS);
|
||||||
else //copy only the data
|
else //copy only the data
|
||||||
memcpy(latestData[ithread],buffer+ fifoBufferHeaderSize , numpackets*onePacketSize);
|
memcpy(latestData[ithread],buffer+ fifoBufferHeaderSize , numpackets*onePacketSize);
|
||||||
//let it know its got data
|
//let it know its got data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user