eiger sends #frames to rxr and gotthard send acp period to rxr. fixed

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@780 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2014-03-14 10:56:27 +00:00
parent 549bd32527
commit 6bb5493893

View File

@ -3570,16 +3570,16 @@ int64_t slsDetector::setTimer(timerIndex index, int64_t t){
#endif
if (connectData() == OK)
ret=thisReceiver->sendIntArray(fnum,ut,args);
if(ut != retval){
if((ut != retval)|| (ret==FAIL)){
ret = FAIL;
if(index==FRAME_PERIOD){
cout << "ERROR:Acquisition Period in receiver set incorrectly to " << ut << " instead of " << retval << endl;
}
if(ret==FAIL){
if(index==FRAME_PERIOD)
setErrorMask((getErrorMask())|(RECEIVER_ACQ_PERIOD_NOT_SET));
else
}else{
cout << "ERROR:Number of Frames in receiver set incorrectly to " << ut << " instead of " << retval << endl;
setErrorMask((getErrorMask())|(RECEIVER_FRAME_NUM_NOT_SET));
}
}
if(ret==FORCE_UPDATE)
updateReceiver();
}