- A few fixes to the hsitogram memory codes
- Many fixes for the triple axis code
This commit is contained in:
11
tas.w
11
tas.w
@@ -49,6 +49,7 @@ typedef struct {
|
||||
int iFileNO;
|
||||
int iFast;
|
||||
char scanVar[80];
|
||||
float oldSRO;
|
||||
}TASdata, *pTASdata;
|
||||
@}
|
||||
\begin{description}
|
||||
@@ -70,6 +71,10 @@ variables. This can be 0 for simple variables or 1 for a motor.
|
||||
no wait for the motors to finish driving.
|
||||
\item[scanVar] memorizes the first scan variable with a step of greater
|
||||
zero.
|
||||
\item[oldSRO] keeps the old value of the motor SRO. This because the
|
||||
helmholtz angle stored in the variable helm has to be corrected when
|
||||
SRO has been driven. This value is initialised in tasdrive and
|
||||
TasScanDrive. The actual correction is done in TASUpdate.
|
||||
\end{description}
|
||||
The constants for the parameters are defined in the header file.
|
||||
|
||||
@@ -237,8 +242,10 @@ These are mainly the interpreter interface functions:
|
||||
|
||||
#define MAXPAR 130
|
||||
#define MAXADD 20
|
||||
#define MAXEVAR 10
|
||||
|
||||
#define MAXEVAR 12
|
||||
|
||||
#define SROMOT 7 /* number of the SRO motor */
|
||||
#define A4MOT 3 /* index of a4 motor */
|
||||
/* --------------------- data structure -------------------------------*/
|
||||
@<tasdata@>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user