changed the start and stop receiver error messages to be displayed to the client and not jsus recever

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@640 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-07-30 14:49:53 +00:00
parent 500f83f0b4
commit 05f54e996c
8 changed files with 212 additions and 73 deletions

View File

@ -266,8 +266,7 @@ void slsDetectorUtils::acquire(int delflag){
break;
}
//start receiver
startReceiver();
if(setReceiverOnline()==OFFLINE_FLAG){
if((startReceiver() == FAIL) || (setReceiverOnline()==OFFLINE_FLAG)){
stopReceiver();
pthread_mutex_unlock(&mg);
break;