bug fixes and enhancements related to evcontroller
SKIPPED: psi/dilludriv.c psi/el755driv.c psi/eurodriv.c psi/eve.c psi/eve.h psi/fsm.c psi/ipsdriv.c psi/itc4driv.c psi/itcdriv.c psi/lcdriv.c psi/logger.c psi/logger.h psi/slsmagnet.c
This commit is contained in:
@ -95,6 +95,7 @@ used:
|
||||
int (*GetError)(pEVDriver self, int *iCode,
|
||||
char *pError, int iErrLen);
|
||||
int (*TryFixIt)(pEVDriver self, int iCode);
|
||||
int (*SavePars)(pEVDriver self, FILE *fil);
|
||||
int (*Init)(pEVDriver self);
|
||||
int (*Close)(pEVDriver self);
|
||||
void *pPrivate;
|
||||
@ -130,6 +131,7 @@ the problem. If so, the apropriate actions are performed. TryFixIt returns
|
||||
either DEVOK, if the device is OK, DEVFAULT, if TryFixIt cannot fix the
|
||||
problem and DEVREDO if TryFixIt manged to fix the problem but requires the
|
||||
last command to be resent.
|
||||
\item [SavePars] Saves persistent parameters to status file.
|
||||
\item [Init] Init is meant to initialise or reinitialise the driver.
|
||||
\item [Close] Close is meant to close the driver and bring the device into a
|
||||
safe state.
|
||||
@ -152,7 +154,6 @@ data structure as first parameter.
|
||||
void DeleteEVController(void *pData);
|
||||
pEVControl MakeEVController(pEVDriver pDriv, SConnection *pCon,
|
||||
ObjectFunc wrapper, int argc, char *argv[]);
|
||||
int EVSaveStatus(void *pData, char *name, FILE *fil);
|
||||
/*-------------------------- driving ---------------------------------*/
|
||||
int EVCDrive(pEVControl self,SConnection *pCon, float fNew);
|
||||
int EVCGetPos(pEVControl self, SConnection *pCon,float *fVal);
|
||||
|
Reference in New Issue
Block a user