- Fixes to hkl code
- Fixes to make RITA work - tasub extended to calculate UB from cell alone, support for elastic mode - New MultiCounter as abstraction for counting on HM's - regression test driver for counters
This commit is contained in:
13
counter.c
13
counter.c
@ -103,9 +103,9 @@
|
||||
if(iRet == OKOK)
|
||||
{
|
||||
self->isUpToDate = 0;
|
||||
self->badStatusCount = 0;
|
||||
self->badStatusCount = 0;
|
||||
self->tStart = time(&tX);
|
||||
InvokeCallBack(self->pCall,COUNTSTART,pCon);
|
||||
InvokeCallBack(self->pCall,COUNTSTART,pCon);
|
||||
return iRet;
|
||||
}
|
||||
else
|
||||
@ -314,7 +314,7 @@
|
||||
for(i = 0; i < 3; i++)
|
||||
{
|
||||
iRet = self->pDriv->ReadValues(self->pDriv);
|
||||
if(iRet)
|
||||
if(iRet == OKOK)
|
||||
{
|
||||
self->isUpToDate = 1;
|
||||
return OKOK;
|
||||
@ -529,6 +529,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* test for regression testing counter
|
||||
*/
|
||||
if(strcmp(argv[2],"regress") == 0){
|
||||
pDriv = NewRegressCounter(argv[1]);
|
||||
}
|
||||
|
||||
/*
|
||||
* test for McStas simulation counter driver
|
||||
*/
|
||||
|
Reference in New Issue
Block a user