mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
made udp socket in receiver use generic socket, included a incrememnt frame index in acquire before a break, got rid of infinite loop for unmatched index in receiver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@350 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -496,7 +496,14 @@ int slsReceiverFuncs::read_frame(){
|
||||
if(ret==OK){
|
||||
int count=0;
|
||||
do{
|
||||
if(count>0){ cout << endl << "unmatching: index:" << index <<" index2:" << index2 << endl;}
|
||||
if(count>0){
|
||||
cout << endl << "unmatching: index:" << index <<" index2:" << index2 << endl;
|
||||
if(count>10){
|
||||
strcpy(mess,"unmatching index. could not read frame.\n");
|
||||
ret=FAIL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
retval=slsReceiverList->readFrame(fName);
|
||||
index=(int)(*((int*)retval));
|
||||
char* retval2= retval+1286;
|
||||
|
Reference in New Issue
Block a user