receiver nth frame and acquisition indices for eiger

This commit is contained in:
Maliakal Dhanya
2014-07-31 12:13:15 +02:00
parent 91c0a083b3
commit 3e36b603f9
3 changed files with 46 additions and 24 deletions
@@ -1318,7 +1318,9 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){
/**send garbage with -1 index to try again*/
if(!receiverBase->getFramesCaught()){
arg=-1;
#ifdef VERBOSE
cout<<"haven't caught any frame yet"<<endl;
#endif
}
/** acq started */
else{
@@ -1338,6 +1340,7 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){
/**proper frame*/
else{
memcpy(origVal,raw,frameSize);
raw=NULL;