- Enhanced and debugged histogram memory for AMOR

* added PROJECT both in HM and driver code
  * added single detector support.
- Removed several bugs in the AMOR data bit.
- Updated documentation
This commit is contained in:
cvs
2001-08-17 14:33:05 +00:00
parent a538361516
commit db6c355f44
56 changed files with 4060 additions and 426 deletions

View File

@@ -1,5 +1,5 @@
#line 346 "sinqhm.w"
#line 363 "sinqhm.w"
/*---------------------------------------------------------------------------
S I N Q H M
@@ -17,7 +17,7 @@
typedef struct __SINQHM *pSINQHM;
/*------------------------------ Error codes -----------------------------*/
#line 324 "sinqhm.w"
#line 341 "sinqhm.w"
#define HMCOMPUTER_NOT_FOUND -2
#define SOCKET_ERROR -3
@@ -39,7 +39,7 @@
#define DAQ_INHIBIT -19
#define DAQ_NOTSTOPPED -20
#line 362 "sinqhm.w"
#line 379 "sinqhm.w"
/*------------------------------ Prototypes ------------------------------*/
@@ -50,7 +50,8 @@
pSINQHM CopySINQHM(pSINQHM self);
void DeleteSINQHM(pSINQHM self);
void SINQHMSetPar(pSINQHM self, int iRank, int iLength, int iBinWidth);
void SINQHMSetPSD(pSINQHM self, int xSize, int xOff, int xFac,
int ySize, int yOff, int yFac);
#line 142 "sinqhm.w"
@@ -89,9 +90,11 @@
long SINQHMSize(pSINQHM self, int iNum, int iStart, int iEnd);
int SINQHMRead(pSINQHM self, int iNum, int iStart, int iEnd,
void *pData, int iDataLen);
int SINQHMProject(pSINQHM self, int code, int xStart, int nx,
int yStart, int ny, void *pData, int iDataLen);
int SINQHMZero(pSINQHM self, int iNum, int iStart, int iEnd);
#line 365 "sinqhm.w"
#line 382 "sinqhm.w"
#line 232 "sinqhm.w"
@@ -99,6 +102,6 @@
int SINQHMDefineBank(pSINQHM self, int iBankNumber, int iStart, int iEnd,
float *iEdges, int iEdgeLength);
#line 366 "sinqhm.w"
#line 383 "sinqhm.w"
#endif