- GPIB/ECB modules completed, ecb motor driver in progress
This commit is contained in:
13
pimotor.c
13
pimotor.c
@@ -33,8 +33,13 @@
|
||||
int (*GetStatus)(void *self);
|
||||
void (*GetError)(void *self, int *iCode, char *buffer, int iBufLen);
|
||||
int (*TryAndFixIt)(void *self,int iError, float fNew);
|
||||
int (*ContinueAfterWarn)(void *self);
|
||||
int (*Halt)(void *self);
|
||||
int (*GetDriverPar)(void *self, char *name,
|
||||
float *value);
|
||||
int (*SetDriverPar)(void *self,SConnection *pCon,
|
||||
char *name, float newValue);
|
||||
void (*ListDriverPar)(void *self, char *motorName,
|
||||
SConnection *pCon);
|
||||
|
||||
|
||||
/* C-804 specific fields */
|
||||
@@ -281,11 +286,6 @@
|
||||
}
|
||||
free(self);
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
static int PIContinue(void *self)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
/*--------------------------------------------------------------------------
|
||||
* The data necessary for initialising the C804 motor is contained in a
|
||||
* Tcl-Array given as pArray parameter. In case of an error the error is
|
||||
@@ -433,7 +433,6 @@
|
||||
pNew->GetStatus = PIStatus;
|
||||
pNew->GetError = PIError;
|
||||
pNew->TryAndFixIt = PIFixError;
|
||||
pNew->ContinueAfterWarn = PIContinue;
|
||||
pNew->Halt = PIHalt;
|
||||
|
||||
/* success */
|
||||
|
||||
Reference in New Issue
Block a user