- 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 451 "histogram.w"
#line 434 "histogram.w"
/*--------------------------------------------------------------------------
H I S T M E M
@@ -33,7 +33,7 @@
eSANSTOF
} HistMode;
#line 35 "histogram.w"
#line 36 "histogram.w"
typedef enum {
eOIgnore,
@@ -42,22 +42,22 @@
eReflect
} OverFlowMode;
#line 471 "histogram.w"
#line 454 "histogram.w"
/*--------------------------------------------------------------------------*/
#line 304 "histogram.w"
#line 287 "histogram.w"
pHistMem CreateHistMemory(char *drivername);
void DeleteHistMemory(void *self);
#line 320 "histogram.w"
#line 303 "histogram.w"
int HistGetOption(pHistMem self, char *name, char *result, int iResultLen);
int HistSetOption(pHistMem self, char *name, char *value);
int HistConfigure(pHistMem self, SConnection *pCon, SicsInterp *pSics);
#line 348 "histogram.w"
#line 331 "histogram.w"
float GetHistPreset(pHistMem self);
int SetHistPreset(pHistMem self, float fVal);
@@ -72,7 +72,7 @@
int HistBlockCount(pHistMem self, SConnection *pCon);
#line 377 "histogram.w"
#line 360 "histogram.w"
int SetHistogram(pHistMem self, SConnection *pCon,
int i,int iStart, int iEnd, HistInt *lData);
@@ -84,7 +84,7 @@
HistInt *lData, int iDataLen);
int PresetHistogram(pHistMem self, SConnection *pCon, HistInt lVal);
#line 420 "histogram.w"
#line 403 "histogram.w"
int MakeHistMemory(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
@@ -93,7 +93,7 @@
int argc, char *argv[]);
#line 473 "histogram.w"
#line 456 "histogram.w"
#endif