mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
partial_frames for 10g bug fixed specifzing literal 1024 for allowed packet size in startwritign
This commit is contained in:
@ -1962,7 +1962,7 @@ int UDPStandardImplementation::startWriting(){
|
|||||||
uint32_t lastpacketheader[numListeningThreads], currentpacketheader[numListeningThreads];
|
uint32_t lastpacketheader[numListeningThreads], currentpacketheader[numListeningThreads];
|
||||||
int numberofmissingpackets[numListeningThreads];
|
int numberofmissingpackets[numListeningThreads];
|
||||||
|
|
||||||
int MAX_VALUE = 1024;
|
int MAX_VALUE = 1024;//32 bit number of packets
|
||||||
char* tofree[MAX_VALUE];
|
char* tofree[MAX_VALUE];
|
||||||
char* tempbuffer[MAX_VALUE];
|
char* tempbuffer[MAX_VALUE];
|
||||||
char* blankframe[MAX_VALUE];
|
char* blankframe[MAX_VALUE];
|
||||||
@ -2097,7 +2097,7 @@ int UDPStandardImplementation::startWriting(){
|
|||||||
#endif
|
#endif
|
||||||
}else{
|
}else{
|
||||||
endofacquisition = false;
|
endofacquisition = false;
|
||||||
if(numpackets[i] == 1040){;
|
if(numpackets[i] == bufferSize){;
|
||||||
#ifdef EIGER_DEBUG3
|
#ifdef EIGER_DEBUG3
|
||||||
wbuf_footer = (eiger_packet_footer_t*)(wbuf[i] + footer_offset + HEADER_SIZE_NUM_TOT_PACKETS);
|
wbuf_footer = (eiger_packet_footer_t*)(wbuf[i] + footer_offset + HEADER_SIZE_NUM_TOT_PACKETS);
|
||||||
//cprintf(BLUE,"footer value:0x%x\n",i,(uint64_t)(*( (uint64_t*) wbuf_footer)));
|
//cprintf(BLUE,"footer value:0x%x\n",i,(uint64_t)(*( (uint64_t*) wbuf_footer)));
|
||||||
|
Reference in New Issue
Block a user