Files
sics/scan.i
cvs 3ddb19d8a9 - Improvements to the chooper driver for the SANS2 chopper
- Fixes to the new counter and motor drivers
- Updated Linux makefiles to linux_def


SKIPPED:
	psi/dornier2.c
	psi/el734hp.c
	psi/el737hpdriv.c
	psi/makefile_linux
	psi/psi.c
	psi/hardsup/makefile_linux
	psi/tecs/makefile_linux
2003-07-14 11:56:54 +00:00

66 lines
3.2 KiB
OpenEdge ABL

/*--------------------------------------------------------------------------
Internal header file holding the definition of the scan objects data
structure.
Mark Koennecke, October 1997
----------------------------------------------------------------------------*/
#include "sdynar.h"
typedef struct {
char Name[132];
pIDrivable pInter;
pDummy pObject;
float fStart;
float fStep;
float *fData;
}VarEntry, *pVarEntry;
/*--------------------------------------------------------------------------*/
typedef struct {
int i;
long lCount;
long Monitors[10];
float fTime;
} CountEntry, *pCountEntry;
/*---------------------------------------------------------------------------*/
typedef struct __ScanData {
pObjectDescriptor pDes;
pICallBack pCall;
pDynar pScanVar;
int iScanVar;
int iNP;
int iMode;
float fPreset;
char pFile[1024];
char ext[5];
FILE *fd;
SicsInterp *pSics;
SConnection *pCon;
char pRecover[1024];
char pHeaderFile[1024];
int (*PrepareScan)(pScanData self);
int (*WriteHeader)(pScanData self);
int (*WriteScanPoints)
(pScanData self,
int iPoint);
int (*ScanDrive)(pScanData self,
int i);
int (*ScanCount)(pScanData self,
int i);
int (*CollectScanData)
(pScanData self,
int iP);
long lPos;
int posSoft;
void *pCounterData;
char pCounterName[512];
int iChannel;
pDynar pCounts;
int iCounts;
int iActive;
int iWindow;
char *pCommand;
void *pSpecial;
} ScanData;