check online is ok

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@244 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-09-10 13:17:09 +00:00
parent ef8455ced6
commit 2cfdc2b108
6 changed files with 11 additions and 25 deletions

View File

@ -551,6 +551,10 @@ slsDetectorCommand::slsDetectorCommand(slsDetectorUtils *det) {
i++;
descrToFuncMap[i].m_pFuncName="measurments"; //
descrToFuncMap[i].m_pFuncPtr=&slsDetectorCommand::cmdTimer;
i++;
/* read only timers */
descrToFuncMap[i].m_pFuncName="exptimel"; //
@ -2935,6 +2939,8 @@ string slsDetectorCommand::cmdTimer(int narg, char *args[], int action) {
index=CYCLES_NUMBER;
else if (cmd=="probes")
index=PROBES_NUMBER;
else if (cmd=="measurments")
index=MEASUREMENTS_NUMBER;
else
return string("could not decode timer ")+cmd;