changed the receiver to be the one deciding the frame factor, not gui

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@579 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-05-27 09:34:24 +00:00
parent 45c690084b
commit b19fdaa0a5
7 changed files with 37 additions and 28 deletions

View File

@ -1251,6 +1251,10 @@ int slsReceiverFuncs::set_read_frequency(){
sprintf(mess,"Receiver locked by %s\n", socket->lastClientIP);
ret=FAIL;
}
else if((slsReceiverList->getStatus()==RUNNING) && (index >= 0)){
ret = FAIL;
strcpy(mess,"cannot set up receiver mode when receiver is running\n");
}
else
retval=slsReceiverList->setNFrameToGui(index);
}