- Fixed a few problems with hklscan
- Added transfer of zipped data to conman.c, histogram memory software in order to support the TRICS status display. - Upgraded TRICS data file writing. - First installment of triple axis spectrometer support: initialization of data structures and an implementation of the MAD dr(ive) command.
This commit is contained in:
117
tas.h
Normal file
117
tas.h
Normal file
@@ -0,0 +1,117 @@
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Header file for the SICS triple axis module. Implements new drive
|
||||
and scan commands for triple axis which use the old tasmad F77
|
||||
routine for calculating the spectrometer setting angles.
|
||||
|
||||
Mark Koennecke, November 2000
|
||||
------------------------------------------------------------------------*/
|
||||
#ifndef SICSTAS
|
||||
#define SICSTAS
|
||||
|
||||
/*------------------------- parameter defines -------------------------*/
|
||||
#define WAV 0
|
||||
#define DM 1
|
||||
#define DA 2
|
||||
#define ETAM 3
|
||||
#define ETAA 4
|
||||
#define TI 5
|
||||
#define MN 6
|
||||
#define IF1V 7
|
||||
#define IF2V 8
|
||||
#define IF1H 9
|
||||
#define IF2H 10
|
||||
#define HELM 11
|
||||
#define AS 12
|
||||
#define BS 13
|
||||
#define CS 14
|
||||
#define AA 15
|
||||
#define BB 16
|
||||
#define CC 17
|
||||
#define ETAS 18
|
||||
#define AX 19
|
||||
#define AY 20
|
||||
#define AZ 21
|
||||
#define BX 22
|
||||
#define BY 23
|
||||
#define BZ 24
|
||||
#define EI 25
|
||||
#define KI 26
|
||||
#define EF 27
|
||||
#define KF 28
|
||||
#define QH 29
|
||||
#define QK 30
|
||||
#define QL 31
|
||||
#define EN 32
|
||||
#define QM 33
|
||||
#define HX 34
|
||||
#define HY 35
|
||||
#define HZ 36
|
||||
|
||||
#define DA1 37
|
||||
#define DA2 38
|
||||
#define DA3 39
|
||||
#define DA4 40
|
||||
#define DA5 41
|
||||
#define DA6 42
|
||||
#define DMCV 43
|
||||
#define DSRO 44
|
||||
#define DACH 45
|
||||
#define DMTL 46
|
||||
#define DMTU 47
|
||||
#define DSTL 48
|
||||
#define DSTU 49
|
||||
#define DATL 50
|
||||
#define DATU 51
|
||||
#define DMGL 52
|
||||
#define DSGL 53
|
||||
#define DSGU 54
|
||||
#define DAGL 55
|
||||
#define DEI 56
|
||||
#define DKI 57
|
||||
#define DEF 58
|
||||
#define DKF 59
|
||||
#define DQH 60
|
||||
#define DQK 62
|
||||
#define DQL 62
|
||||
#define DEN 63
|
||||
#define DQM 64
|
||||
#define DT 65
|
||||
#define SM 66
|
||||
#define SS 67
|
||||
#define SA 68
|
||||
#define FX 69
|
||||
#define NP 70
|
||||
#define F1 71
|
||||
#define F2 72
|
||||
#define LPA 73
|
||||
|
||||
#define MRX1 74
|
||||
#define MRX2 75
|
||||
#define ARX1 76
|
||||
#define ARX2 77
|
||||
|
||||
#define MAXPAR 78
|
||||
|
||||
|
||||
/* --------------------- data structure -------------------------------*/
|
||||
|
||||
typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
pSicsVariable tasPar[MAXPAR];
|
||||
pCounter counter;
|
||||
}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[]);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user