a connection during an active run. - Added an additional output mode for the connection in order to support the batch run editor. - Made clientput send everything with eWarning mode in order to support the batch run editor. - Added a better NetReadTillTerm - Fixed a problem in synchronize.c - Fixed an issue with reading empty line on normal connection sockets. - Added a psi scan mode to mesure.c for TRICS - Made motor print warnings when trying to reposition. - Fixed abug in hkl.c which cause wrong signs. SKIPPED: psi/el734driv.c psi/el734hp.c psi/el737driv.c psi/el737hpdriv.c psi/nextrics.c psi/nxamor.c psi/psi.c psi/slsmagnet.c psi/swmotor2.c psi/tasscan.c psi/tasutil.c
41 lines
1.6 KiB
C
41 lines
1.6 KiB
C
|
|
/*----------------------------------------------------------------------------
|
|
M E S U R E
|
|
|
|
A SICS object for doing simple four circle measurements with a single
|
|
counter.
|
|
|
|
copyright: see copyright.h
|
|
|
|
Mark Koenencke, April 1998
|
|
---------------------------------------------------------------------------*/
|
|
#ifndef SICSMESURE
|
|
#define SICSMESURE
|
|
|
|
typedef struct __Mesure *pMesure;
|
|
/*--------------------- live & death --------------------------------------*/
|
|
pMesure CreateMesure(pHKL pCryst, pScanData pScanner,
|
|
pMotor pOmega, char *pom, char *po2t,
|
|
char *pFileRoot,pDataNumber pDanu);
|
|
void DeleteMesure(void *pData);
|
|
|
|
int MesureFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
/*------------------- object functions -----------------------------------*/
|
|
int MesureReflection(pMesure self, float fHKL[3], float fPsi,
|
|
SConnection *pCon);
|
|
int MesureGenReflection(pMesure self, float fHKL[3],float fSet[4], SConnection *pCon);
|
|
int MesureStart(pMesure self, SConnection *pCon);
|
|
int MesureReopen(pMesure self, char *filename, SConnection *pCon);
|
|
int MesureClose(pMesure self);
|
|
int MesureFile(pMesure self, char *pFile, int iSkip, SConnection *pCon);
|
|
int MesureGenFile(pMesure self, char *pFile, int iSkip, SConnection *pCon);
|
|
int MesureSetPar(pMesure self, char *name, float fVal);
|
|
int MesureGetPar(pMesure self, char *name, float *fVal);
|
|
|
|
int MesureAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
|
|
|
|
#endif
|