mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50: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,6 +266,9 @@ char* slsReceiverFunctionList::setFilePath(char c[]){
|
|||||||
|
|
||||||
|
|
||||||
char* slsReceiverFunctionList::getFileName(){
|
char* slsReceiverFunctionList::getFileName(){
|
||||||
|
if(myDetectorType == EIGER)
|
||||||
|
receiver->getFileName();
|
||||||
|
else
|
||||||
return fileName;
|
return fileName;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -327,6 +330,9 @@ int slsReceiverFunctionList::setEnableFileWrite(int i){
|
|||||||
/*other parameters*/
|
/*other parameters*/
|
||||||
|
|
||||||
slsDetectorDefs::runStatus slsReceiverFunctionList::getStatus(){
|
slsDetectorDefs::runStatus slsReceiverFunctionList::getStatus(){
|
||||||
|
if(myDetectorType == EIGER)
|
||||||
|
return receiver->getStatus();
|
||||||
|
else
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1057,6 +1063,11 @@ void slsReceiverFunctionList::closeFile(int ithr){
|
|||||||
|
|
||||||
|
|
||||||
int slsReceiverFunctionList::startReceiver(char message[]){
|
int slsReceiverFunctionList::startReceiver(char message[]){
|
||||||
|
|
||||||
|
if(myDetectorType == EIGER)
|
||||||
|
return receiver->startReceiver(message);
|
||||||
|
|
||||||
|
|
||||||
//#ifdef VERBOSE
|
//#ifdef VERBOSE
|
||||||
cout << "Starting Receiver" << endl;
|
cout << "Starting Receiver" << endl;
|
||||||
//#endif
|
//#endif
|
||||||
@ -1117,6 +1128,11 @@ int slsReceiverFunctionList::startReceiver(char message[]){
|
|||||||
|
|
||||||
|
|
||||||
int slsReceiverFunctionList::stopReceiver(){
|
int slsReceiverFunctionList::stopReceiver(){
|
||||||
|
|
||||||
|
if(myDetectorType == EIGER)
|
||||||
|
return receiver->stopReceiver();
|
||||||
|
|
||||||
|
|
||||||
//#ifdef VERBOSE
|
//#ifdef VERBOSE
|
||||||
cout << "Stopping Receiver" << endl;
|
cout << "Stopping Receiver" << endl;
|
||||||
//#endif
|
//#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user