- Adapted indenation to new agreed upon system
- Fixed bad status in poldi zug driver
This commit is contained in:
64
tas.h
64
tas.h
@ -5,7 +5,7 @@
|
||||
routine for calculating the spectrometer setting angles.
|
||||
|
||||
Mark Koennecke, November 2000
|
||||
------------------------------------------------------------------------*/
|
||||
------------------------------------------------------------------------*/
|
||||
#ifndef SICSTAS
|
||||
#define SICSTAS
|
||||
#include <sicsvar.h>
|
||||
@ -43,15 +43,15 @@
|
||||
#define KF 28
|
||||
#define QH 29
|
||||
#define QK 30
|
||||
#define QL 31
|
||||
#define EN 32
|
||||
#define QL 31
|
||||
#define EN 32
|
||||
#define QM 33
|
||||
|
||||
#define HX 34
|
||||
#define HY 35
|
||||
#define HZ 36
|
||||
|
||||
#define DA1 37
|
||||
#define DA1 37
|
||||
#define DA2 38
|
||||
#define DA3 39
|
||||
#define DA4 40
|
||||
@ -116,8 +116,8 @@
|
||||
#define TKF 97
|
||||
#define TQH 98
|
||||
#define TQK 99
|
||||
#define TQL 100
|
||||
#define TEN 101
|
||||
#define TQL 100
|
||||
#define TEN 101
|
||||
#define TQM 102
|
||||
#define THX 103
|
||||
#define THY 104
|
||||
@ -161,38 +161,38 @@
|
||||
#define MAXADD 20
|
||||
#define MAXEVAR 12
|
||||
|
||||
#define SROMOT 7 /* number of the SRO motor */
|
||||
#define A4MOT 3 /* index of a4 motor */
|
||||
#define SROMOT 7 /* number of the SRO motor */
|
||||
#define A4MOT 3 /* index of a4 motor */
|
||||
/* --------------------- data structure -------------------------------*/
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
pSicsVariable tasPar[MAXPAR];
|
||||
pCounter counter;
|
||||
pScanData pScan;
|
||||
int iPOL;
|
||||
int iIgnore; /* in order to ignore writing scan points again
|
||||
in polarisation mode;
|
||||
*/
|
||||
int addOutput[MAXADD];
|
||||
int addType[MAXADD];
|
||||
int addCount;
|
||||
int iFileNO;
|
||||
int iFast;
|
||||
char scanVar[80];
|
||||
float oldSRO;
|
||||
}TASdata, *pTASdata;
|
||||
pObjectDescriptor pDes;
|
||||
pSicsVariable tasPar[MAXPAR];
|
||||
pCounter counter;
|
||||
pScanData pScan;
|
||||
int iPOL;
|
||||
int iIgnore; /* in order to ignore writing scan points again
|
||||
in polarisation mode;
|
||||
*/
|
||||
int addOutput[MAXADD];
|
||||
int addType[MAXADD];
|
||||
int addCount;
|
||||
int iFileNO;
|
||||
int iFast;
|
||||
char scanVar[80];
|
||||
float oldSRO;
|
||||
} TASdata, *pTASdata;
|
||||
|
||||
|
||||
/*---------------------- interface ----------------------------------*/
|
||||
|
||||
int TASFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASDrive(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASScan(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASSet(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASFactory(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASDrive(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASScan(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int TASSet(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user