mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
just minor edit changes
This commit is contained in:
parent
73f8d065b3
commit
995f28ca52
@ -959,6 +959,7 @@ void UDPStandardImplementation::startReadout(){
|
|||||||
#ifdef DEBUG5
|
#ifdef DEBUG5
|
||||||
cprintf(MAGENTA,"waiting for all packets totalP:%d\n",totalP);
|
cprintf(MAGENTA,"waiting for all packets totalP:%d\n",totalP);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
usleep(5000);/* Need to find optimal time (exposure time and acquisition period) **/
|
usleep(5000);/* Need to find optimal time (exposure time and acquisition period) **/
|
||||||
prev = totalP;
|
prev = totalP;
|
||||||
totalP=0;
|
totalP=0;
|
||||||
@ -2315,14 +2316,11 @@ bool UDPStandardImplementation::popAndCheckEndofAcquisition(int ithread, char* w
|
|||||||
else{
|
else{
|
||||||
endofAcquisition = false;
|
endofAcquisition = false;
|
||||||
#ifdef DEBUG4
|
#ifdef DEBUG4
|
||||||
switch(myDetectorType){
|
if(myDetectorType == EIGER){
|
||||||
case EIGER:
|
|
||||||
eiger_packet_footer_t* wbuf_footer = (eiger_packet_footer_t*)(wbuffer[i] + footerOffset + HEADER_SIZE_NUM_TOT_PACKETS);
|
eiger_packet_footer_t* wbuf_footer = (eiger_packet_footer_t*)(wbuffer[i] + footerOffset + 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)));
|
||||||
cprintf(BLUE,"Fnum[%d]:%d\n",i,(uint32_t)(*( (uint64_t*) wbuf_footer)));
|
cprintf(BLUE,"Fnum[%d]:%d\n",i,(uint32_t)(*( (uint64_t*) wbuf_footer)));
|
||||||
cprintf(BLUE,"Pnum[%d]:%d\n",i,*( (uint16_t*) wbuf_footer->packetNumber));
|
cprintf(BLUE,"Pnum[%d]:%d\n",i,*( (uint16_t*) wbuf_footer->packetNumber));
|
||||||
break;
|
|
||||||
default: break;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if(myDetectorType == EIGER){
|
if(myDetectorType == EIGER){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user