included detector ip and detector mac defaults in client, which can be specified in config file

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@374 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-12-10 13:58:47 +00:00
parent 9d9d00cdc7
commit f74ea5191d
9 changed files with 104 additions and 47 deletions

View File

@ -691,14 +691,14 @@ int slsReceiverFuncs::read_frame(){
//1 odd, 1 even
/*if((index%2)!=index2%2){
if((index%2)!=index2%2){
//ideal situation (should be odd, even(index+1))
if(index%2){*/
if(index%2){
memcpy(retval,((char*) origVal)+2, onedatasize);
memcpy((((char*)retval)+onedatasize), ((char*) origVal)+8+onedatasize, onedatasize);
ret=OK;
break;
/*}
}
//swap to even,odd
if(index2%2){
@ -709,7 +709,7 @@ int slsReceiverFuncs::read_frame(){
break;
}
}*/
}
strcpy(mess,"could not read frame due to more than 20 mismatched indices\n");
usleep(100000);
count++;