mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
can change path while receiver running
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@642 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
5036cdc357
commit
543687ce9c
@ -444,11 +444,11 @@ int slsReceiverFuncs::set_file_dir() {
|
|||||||
if (lockStatus==1 && socket->differentClients==1){
|
if (lockStatus==1 && socket->differentClients==1){
|
||||||
sprintf(mess,"Receiver locked by %s\n", socket->lastClientIP);
|
sprintf(mess,"Receiver locked by %s\n", socket->lastClientIP);
|
||||||
ret=FAIL;
|
ret=FAIL;
|
||||||
}
|
}/*
|
||||||
else if((strlen(fPath))&&(slsReceiverList->getStatus()==RUNNING)){
|
else if((strlen(fPath))&&(slsReceiverList->getStatus()==RUNNING)){
|
||||||
strcpy(mess,"Can not set file path while receiver running\n");
|
strcpy(mess,"Can not set file path while receiver running\n");
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
}
|
}*/
|
||||||
else{
|
else{
|
||||||
strcpy(retval,slsReceiverList->setFilePath(fPath));
|
strcpy(retval,slsReceiverList->setFilePath(fPath));
|
||||||
// if file path doesnt exist
|
// if file path doesnt exist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user