- Fixes to NXscript
- Added Pause and Continue commands - Fixed simulation counter to deal properly with pause - Fixed nxdict HDF5 problem
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
include ../alpha_def
|
||||
|
||||
CC = cc
|
||||
CFLAGS = -std1 -g $(DFORTIFY) -I$(SRC).. -I$(HDFROOT)/include -DHDF4 -DHDF5 \
|
||||
CFLAGS = -std1 -g $(DFORTIFY) -I$(SRC).. -I$(HDFROOT)/include -DHDF5 \
|
||||
-I$(SRC)hardsup
|
||||
|
||||
include make_gen
|
||||
|
@ -308,7 +308,7 @@ name of hkl object holding crystallographic information
|
||||
char pBueffel[512];
|
||||
CounterMode eMode;
|
||||
HistInt lData[DET1X*DET1Y], i, lVal;
|
||||
int32 iVal,lBeam;
|
||||
int iVal,lBeam;
|
||||
float fVal, fTTheta, fTime = 0.;
|
||||
pMotor pMot;
|
||||
|
||||
@ -382,9 +382,9 @@ name of hkl object holding crystallographic information
|
||||
}
|
||||
NXDputalias(hfil,self->pDict,"framemode",pBueffel);
|
||||
NXDputalias(hfil,self->pDict,"framepreset",&fVal);
|
||||
iVal = (int32)lVal;
|
||||
iVal = (int)lVal;
|
||||
NXDputalias(hfil,self->pDict,"framemonitor",&iVal);
|
||||
iVal = (int32)lBeam;
|
||||
iVal = (int)lBeam;
|
||||
NXDputalias(hfil,self->pDict,"sinqmonitor",&iVal);
|
||||
NXDputalias(hfil,self->pDict,"cctime",&fTime);
|
||||
|
||||
|
8
nxsans.c
8
nxsans.c
@ -203,7 +203,7 @@ static int gummiFlag = 0; /* a flag indicating stroboscopic, or gummi mode */
|
||||
char pBueffel[512];
|
||||
float fVal;
|
||||
int iVal, iSet;
|
||||
int32 iAxis[256];
|
||||
int iAxis[256];
|
||||
int i, iRet;
|
||||
long lVal;
|
||||
HistInt *lData = NULL;
|
||||
@ -289,10 +289,10 @@ static int gummiFlag = 0; /* a flag indicating stroboscopic, or gummi mode */
|
||||
self = (pHistMem)pCom->pData;
|
||||
assert(self);
|
||||
lVal = GetHistMonitor(self,0,pCon);
|
||||
iVal = (int32)lVal;
|
||||
iVal = (int)lVal;
|
||||
NXDputalias(Nfil,pDict,"m1counts",&iVal);
|
||||
lVal = GetHistMonitor(self,4,pCon);
|
||||
iVal = (int32)lVal;
|
||||
iVal = (int)lVal;
|
||||
NXDputalias(Nfil,pDict,"pbcounts",&iVal);
|
||||
|
||||
/* the collimator */
|
||||
@ -558,7 +558,7 @@ static int gummiFlag = 0; /* a flag indicating stroboscopic, or gummi mode */
|
||||
fVal = GetHistPreset(self);
|
||||
NXDputalias(Nfil,pDict,"ddp",&fVal);
|
||||
lVal = GetHistMonitor(self,1,pCon);
|
||||
iVal = (int32)lVal;
|
||||
iVal = (int)lVal;
|
||||
NXDputalias(Nfil,pDict,"ddmo",&iVal);
|
||||
fVal = GetHistCountTime(self,pCon);
|
||||
NXDputalias(Nfil,pDict,"ddtime",&fVal);
|
||||
|
Reference in New Issue
Block a user