editted measurement command

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@247 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2012-09-10 15:20:09 +00:00
parent 7638e6638c
commit e257e2f796

View File

@ -555,7 +555,7 @@ slsDetectorCommand::slsDetectorCommand(slsDetectorUtils *det) {
i++; i++;
descrToFuncMap[i].m_pFuncName="measurments"; // descrToFuncMap[i].m_pFuncName="measurements"; //
descrToFuncMap[i].m_pFuncPtr=&slsDetectorCommand::cmdTimer; descrToFuncMap[i].m_pFuncPtr=&slsDetectorCommand::cmdTimer;
i++; i++;
@ -2956,7 +2956,7 @@ string slsDetectorCommand::cmdTimer(int narg, char *args[], int action) {
index=CYCLES_NUMBER; index=CYCLES_NUMBER;
else if (cmd=="probes") else if (cmd=="probes")
index=PROBES_NUMBER; index=PROBES_NUMBER;
else if (cmd=="measurments") else if (cmd=="measurements")
index=MEASUREMENTS_NUMBER; index=MEASUREMENTS_NUMBER;
else else
return string("could not decode timer ")+cmd; return string("could not decode timer ")+cmd;