/*-------------------------------------------------------------------------- A m o r 2 T . i Internal data structure definitions for Amor2T. For details see amor2t.tex. DO NOT TOUCH! This file is automatically created from amor2t.w. Mark Koennecke, September 1999 ----------------------------------------------------------------------------*/ /* distance detector sample */ #define PARDS 0 /* constant height of sample: height = PARDH + MOTSOZ + MOTSTZ */ #define PARDH 1 /* distance diaphragm 4 - sample */ #define PARDD4 2 /* distance to diaphragm 5 */ #define PARDD5 3 /* interrupt to issue when a motor fails on this */ #define PARINT 4 /* base height of counter station */ #define PARDDH 5 /* height of D4 */ #define PARD4H 6 /* height of D5 */ #define PARD5H 7 /* base height of analyzer */ #define PARANA 8 /* distance of analyzer from sample */ #define PARADIS 9 /* flag analyzer calculation on/off */ #define ANAFLAG 10 /* constant for second detector */ #define PARDDD 11 /* constant part of AOM */ #define PARAOM 12 /* flag for diaphragms */ #define DIAFLAG 13 typedef struct { pMotor pMot; char pName[80]; float fTarget; }MotEntry, *pMotEntry; typedef struct __AMOR2T { pObjectDescriptor pDes; pIDrivable pDriv; pMotor aEngine[MAXMOT]; MotEntry toStart[MAXMOT]; ObPar *aParameter; }Amor2T;