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
33 lines
950 B
C
33 lines
950 B
C
|
|
/*-----------------------------------------------------------------------
|
|
N X S C R I P T
|
|
|
|
This is a class for scripting the contents of NeXus files from
|
|
SICS.
|
|
|
|
copyright: see file COPYRIGHT
|
|
|
|
Mark Koennecke, February 2003
|
|
------------------------------------------------------------------------*/
|
|
#ifndef NXSCRIPT
|
|
#define NXSCRIPT
|
|
#include "napi.h"
|
|
#include "nxdict.h"
|
|
|
|
int MakeNXScript(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
int NXScriptAction(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
|
|
char *makeFilename(SicsInterp *pSics, SConnection *pCon);
|
|
void changeExtension(char *filename, char *newExtension);
|
|
/*============== a personal data structure ============================*/
|
|
typedef struct {
|
|
pObjectDescriptor pDes;
|
|
NXhandle fileHandle;
|
|
NXdict dictHandle;
|
|
int timeDivisor;
|
|
} NXScript, *pNXScript;
|
|
|
|
#endif
|