diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index e7ee3fe22..05e195208 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -867,7 +867,9 @@ void UDPStandardImplementation::readFrame(char* c,char** raw, uint32_t &fnum, ui //point to gui data if (guiData == NULL){ guiData = latestData; - //cout <<"gui data not null anymore" << endl; +#ifdef VERY_VERY_DEBUG + cout <<"gui data not null anymore" << endl; +#endif } //copy data and filename @@ -877,25 +879,33 @@ void UDPStandardImplementation::readFrame(char* c,char** raw, uint32_t &fnum, ui //could not get gui data if(!guiDataReady){ - //cout<<"gui data not ready"<pop(wbuf[i]); numpackets = (uint16_t)(*((uint16_t*)wbuf[i])); #ifdef VERYDEBUG - cout << ithread << " numpackets:" << dec << numpackets << "for fifo :"<< i << endl; + cout << i << " numpackets:" << dec << numpackets << "for fifo :"<< i << endl; #endif } @@ -1874,10 +1887,15 @@ int UDPStandardImplementation::startWriting(){ //last dummy packet if(numpackets == 0xFFFF){ +#ifdef VERYDEBUG + cout << "LAST dummy packet" << endl; +#endif stopWriting(ithread,wbuf); continue; } - +#ifdef VERYDEBUG + else cout <<"NOT a dummy packet"< 0){ for(i=0;ipush(wbuf[i])); #ifdef VERYDEBUG @@ -2056,7 +2081,7 @@ void UDPStandardImplementation::startFrameIndices(int ithread){ -void UDPStandardImplementation::stopListening(int ithread, int rc, int &pc, int &t){cout << "Stop Listening" << endl; +void UDPStandardImplementation::stopListening(int ithread, int rc, int &pc, int &t){ FILE_LOG(logDEBUG) << __AT__ << " called"; diff --git a/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp b/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp index b1fe40aca..d98a7ddd7 100644 --- a/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp +++ b/slsReceiverSoftware/src/slsReceiverTCPIPInterface.cpp @@ -1336,9 +1336,9 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){ /**send garbage with -1 index to try again*/ if (raw == NULL){ arg = -1; -#ifdef VERBOSE +//#ifdef VERBOSE cout<<"data not ready for gui yet"<