- Refactored histogram memory code a little

- motor driver for ECB now fully working
- Fixed an anticollider bug
- Untested version of a driver for the Risoe TDC histogram memory
This commit is contained in:
cvs
2003-01-31 16:23:54 +00:00
parent b1fd8e77ac
commit f51588e2a7
26 changed files with 1602 additions and 784 deletions

View File

@ -58,7 +58,7 @@
*/
static int iSet = 0;
static HistInt iSetVal = 0;
static HistMode eHistMode;
/*--------------------------------------------------------------------------*/
static int SimConfig(pHistDriver self, SConnection *pCon,
pStringDict pOption, SicsInterp *pSics)
@ -67,14 +67,13 @@
char pData[132];
float fFail;
if(self->eHistMode == eHTOF)
if(eHistMode == eHTOF)
{
for(i = 0; i < self->nDim; i++)
for(i = 0; i < self->data->rank; i++)
{
iLength *= self->iDims[i];
iLength *= self->data->iDim[i];
}
iLength *= self->iTimeChan;
self->iLength = iLength;
iLength *= self->data->nTimeChan;
}
/*