- 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

@ -1,5 +1,5 @@
#line 478 "histogram.w"
#line 461 "histogram.w"
/*---------------------------------------------------------------------------
H I S T D R I V
@ -10,22 +10,13 @@
----------------------------------------------------------------------------*/
#ifndef SICSHISTDRIV
#define SICSHISTDRIV
#define MAXCHAN 16834
#include "hmdata.h"
#line 83 "histogram.w"
#line 89 "histogram.w"
typedef struct __HistDriver {
/* configuration data */
HistMode eHistMode;
OverFlowMode eFlow;
int iRank;
int iDims[MAXDIM];
int nDim;
int iLength;
int iBinWidth;
float fTime[MAXCHAN];
int iTimeChan;
pHMdata data;
/* counting operations data */
CounterMode eCount;
float fCountPreset;
@ -77,17 +68,17 @@
void *pPriv;
} HistDriver;
#line 490 "histogram.w"
#line 473 "histogram.w"
#line 240 "histogram.w"
#line 228 "histogram.w"
pHistDriver CreateHistDriver(pStringDict pDict);
void DeleteHistDriver(pHistDriver self);
int HistDriverConfig(pHistDriver self, pStringDict pOpt,
SConnection *pCon);
#line 491 "histogram.w"
#line 474 "histogram.w"
#endif