mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 12:07:44 +01:00
editing configuremac to include adc number
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@298 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -2705,13 +2705,13 @@ const char * multiSlsDetector::getSettingsFile() {
|
||||
}
|
||||
|
||||
|
||||
int multiSlsDetector::configureMAC() {
|
||||
int multiSlsDetector::configureMAC(int adc) {
|
||||
|
||||
int ret=-100, ret1;
|
||||
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
|
||||
if (detectors[idet]) {
|
||||
ret1=detectors[idet]->configureMAC();
|
||||
ret1=detectors[idet]->configureMAC(adc);
|
||||
if (ret==-100)
|
||||
ret=ret1;
|
||||
else if (ret!=ret1)
|
||||
|
||||
@@ -888,8 +888,12 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
|
||||
string getLastClientIP();
|
||||
|
||||
|
||||
int configureMAC();
|
||||
/**
|
||||
configures mac for gotthard readout
|
||||
\param adc adc number
|
||||
\returns OK or FAIL
|
||||
*/
|
||||
int configureMAC(int adc=-1);
|
||||
|
||||
int setNumberOfModules(int i=-1, dimension d=X);
|
||||
int getMaxNumberOfModules(dimension d=X);
|
||||
|
||||
Reference in New Issue
Block a user