added in users class startreceiver, stop receiver, start status

This commit is contained in:
Dhanya Maliakal 2017-09-21 11:05:20 +02:00
parent 88b1a5c66a
commit 18f014fd9e
2 changed files with 38 additions and 2 deletions

View File

@ -383,3 +383,14 @@ int slsDetectorUsers::getADC(int id, int adcindex) {
return myDetector->getADCValue(adcindex, id);
}
int slsDetectorUsers::stopReceiver() {
return myDetector->startReceiver();
}
int slsDetectorUsers::stopReceiver() {
return myDetector->stopReceiver();
}
int slsDetectorUsers::startAcquisition() {
return myDetector->startAcquisition();
}

View File

@ -637,6 +637,31 @@ class slsDetectorUsers
*/
int getADC(int id, int adcindex);
/**
@short start receiver listening mode
\param returns OK or FAIL
*/
int startReceiver();
/**
@short stop receiver listening mode
\param returns OK or FAIL
*/
int stopReceiver();
/**
@short stop receiver listening mode
\param returns OK or FAIL
*/
int stopReceiver();
/**
start detector acquisition in non blocking mode
\returns OK if all detectors are properly started, FAIL otherwise
*/
int startAcquisition();
/************************************************************************
STATIC FUNCTIONS