mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
the basic functions connected to eiger class
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@793 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
1191fe5674
commit
ec88d57127
@ -266,7 +266,10 @@ char* slsReceiverFunctionList::setFilePath(char c[]){
|
||||
|
||||
|
||||
char* slsReceiverFunctionList::getFileName(){
|
||||
return fileName;
|
||||
if(myDetectorType == EIGER)
|
||||
receiver->getFileName();
|
||||
else
|
||||
return fileName;
|
||||
}
|
||||
|
||||
char* slsReceiverFunctionList::setFileName(char c[]){
|
||||
@ -327,7 +330,10 @@ int slsReceiverFunctionList::setEnableFileWrite(int i){
|
||||
/*other parameters*/
|
||||
|
||||
slsDetectorDefs::runStatus slsReceiverFunctionList::getStatus(){
|
||||
return status;
|
||||
if(myDetectorType == EIGER)
|
||||
return receiver->getStatus();
|
||||
else
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
@ -1057,6 +1063,11 @@ void slsReceiverFunctionList::closeFile(int ithr){
|
||||
|
||||
|
||||
int slsReceiverFunctionList::startReceiver(char message[]){
|
||||
|
||||
if(myDetectorType == EIGER)
|
||||
return receiver->startReceiver(message);
|
||||
|
||||
|
||||
//#ifdef VERBOSE
|
||||
cout << "Starting Receiver" << endl;
|
||||
//#endif
|
||||
@ -1117,6 +1128,11 @@ int slsReceiverFunctionList::startReceiver(char message[]){
|
||||
|
||||
|
||||
int slsReceiverFunctionList::stopReceiver(){
|
||||
|
||||
if(myDetectorType == EIGER)
|
||||
return receiver->stopReceiver();
|
||||
|
||||
|
||||
//#ifdef VERBOSE
|
||||
cout << "Stopping Receiver" << endl;
|
||||
//#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user