- made fixes to hkl
- Introduced a help system - introduced a module for handling automatic updates of files during long measurements - Added a circular buffer and handling facilities to varlog - Upgraded documentation SKIPPED: psi/faverage.h psi/nxamor.tex psi/pimotor.h psi/pimotor.tex
This commit is contained in:
@ -36,7 +36,11 @@ used by EVControl:
|
||||
pEVDriver pDriv;
|
||||
EVMode eMode;
|
||||
float fTarget;
|
||||
time_t start;
|
||||
time_t lastt;
|
||||
char *pName;
|
||||
char *driverName;
|
||||
char *errorScript;
|
||||
ObPar *pParam;
|
||||
int iLog;
|
||||
pVarLog pLog;
|
||||
@ -57,8 +61,13 @@ reached its target value. Then there is a pointer to a callback
|
||||
interface. The fifth field is a pointer to the driver for
|
||||
the actual hardware. Next is the mode the device is in. Of course there
|
||||
must be floating point value which defines the current target value for the
|
||||
device. pName is a pointer to a string representing the name of the
|
||||
controller. Then there is a
|
||||
device. start and lastt are used to control the settling time.
|
||||
|
||||
pName is a pointer to a string representing the name of the
|
||||
controller. driverName is the name of the driver used by this
|
||||
device. errorScript is the name of a script command to run when the
|
||||
controller goes out of tolerance.
|
||||
Then there is a
|
||||
parameter array. iLog is a boolean which says if data should be logged
|
||||
for this controller or not. pLog is the a pointer to a Varlog structure
|
||||
holding the logging information. Then there is a switch, iWarned, which is
|
||||
@ -77,6 +86,8 @@ used:
|
||||
typedef struct __EVDriver {
|
||||
int (*SetValue)(pEVDriver self, float fNew);
|
||||
int (*GetValue)(pEVDriver self, float *fPos);
|
||||
int (*GetValues)(pEVDriver self, float *fTarget,
|
||||
float *fPos, float *fDelta);
|
||||
int (*Send)(pEVDriver self, char *pCommand,
|
||||
char *pReplyBuffer, int iReplBufLen);
|
||||
int (*GetError)(pEVDriver self, int *iCode,
|
||||
@ -240,6 +251,8 @@ See the documentation for commands understood.
|
||||
#define UPLIMIT 4
|
||||
#define LOWLIMIT 5
|
||||
#define SAFEVALUE 6
|
||||
#define MAXWAIT 7
|
||||
#define SETTLE 8
|
||||
|
||||
@<evdata@>
|
||||
@}
|
||||
|
Reference in New Issue
Block a user