- Added triple axis scan command.
- Introduced simulation mode to simdriv and simcter, i.e they never fail and finish at once. - Started defining MAD compatibility commands in Tcl - Fixed a bug in FOCUS_src which caused it to leak sockets. - Introduced setsockopt SO_REUSEADDR to all new sockets in sinqhm in order to loose the next sinqhm error.
This commit is contained in:
36
tas.w
36
tas.w
@@ -38,6 +38,12 @@ typedef struct {
|
||||
pObjectDescriptor pDes;
|
||||
pSicsVariable tasPar[MAXPAR];
|
||||
pCounter counter;
|
||||
pScanData pScan;
|
||||
int iPOL;
|
||||
int addOutput[MAXADD];
|
||||
int addType[MAXADD];
|
||||
int addCount;
|
||||
int iFileNO;
|
||||
}TASdata, *pTASdata;
|
||||
@}
|
||||
\begin{description}
|
||||
@@ -45,12 +51,21 @@ typedef struct {
|
||||
object.
|
||||
\item[floatPar] An array of pointers to float parameters.
|
||||
The parameters are indexed through defined constants.
|
||||
\item[counter] A pointer to the neutron counter.
|
||||
\item[pScan] A pointer to a SICS scan object.
|
||||
\item[iPOL] a flag which is non zer when polarisation analysis is
|
||||
required.
|
||||
\item[addOutput] TAS scans may have additional output fields besides
|
||||
the scan variables in the scan data. This array holds the indices of
|
||||
such variables.
|
||||
\item[addType] This array holds the type of additional output
|
||||
variables. This can be 0 for simple variables or 1 for a motor.
|
||||
\item[addCount] is the number of additional output variables.
|
||||
\item[iFileNO] is the number of the current data file.
|
||||
\end{description}
|
||||
The constants for the parameters are defined in the header file.
|
||||
|
||||
\subsubsection{Exported Functions}
|
||||
These are mainly the interpreter inetrface functions:
|
||||
These are mainly the interpreter interface functions:
|
||||
@d tasfunc @{
|
||||
int TASFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
@@ -156,8 +171,23 @@ These are mainly the interpreter inetrface functions:
|
||||
#define ARX1 76
|
||||
#define ARX2 77
|
||||
|
||||
#define MAXPAR 78
|
||||
#define INST 78
|
||||
#define TIT 79
|
||||
#define USR 80
|
||||
#define COM 81
|
||||
#define ALF1 82
|
||||
#define ALF2 83
|
||||
#define ALF3 84
|
||||
#define ALF4 85
|
||||
#define BET1 86
|
||||
#define BET2 87
|
||||
#define BET3 88
|
||||
#define BET4 89
|
||||
#define OUT 90
|
||||
#define LOC 91
|
||||
|
||||
#define MAXPAR 92
|
||||
#define MAXADD 20
|
||||
|
||||
/* --------------------- data structure -------------------------------*/
|
||||
@<tasdata@>
|
||||
|
||||
Reference in New Issue
Block a user