- New batch file management module

- New oscillator module
- Bug fixes
This commit is contained in:
cvs
2004-11-17 10:50:17 +00:00
parent d96ee44d42
commit 2a93216346
23 changed files with 1731 additions and 338 deletions

View File

@@ -42,8 +42,9 @@
The rough size of each detector chunk to write in TOF mode
(currently 16MB)
#define TOFBLOCK 8192000
*/
#define TOFBLOCK 16384000
*/
#define TOFBLOCK 65536000
/*
a pointer to amor2t which we need for a couple of parameters
@@ -354,10 +355,12 @@ static int WriteTOFDetector(char *name, pHistMem pHM, int *iDim,
NXhandle hfil, NXdict hdict,
SConnection *pCon)
{
int iLength, nChunk, chunkSize, iChunk[3], i, iStart[3], nTime, iRet;
int nChunk, chunkSize, iChunk[3], i, iStart[3], nTime, iRet;
long iLength;
HistInt *lData = NULL;
char pBueffel[132];
const float *fTime;
int start;
fTime = GetHistTimeBin(pHM,&nTime);
iDim[2] = nTime;
@@ -384,6 +387,7 @@ static int WriteTOFDetector(char *name, pHistMem pHM, int *iDim,
free(lData);
return 0;
}
SicsWait(2);
NXDputalias(hfil,hdict,name,lData);
NXDputalias(hfil,hdict,"detchunk",iDim);
NXDaliaslink(hfil,hdict,"dana",name);