- GPIB/ECB modules completed, ecb motor driver in progress

This commit is contained in:
cvs
2003-01-17 16:09:34 +00:00
parent bbc0b64c43
commit f45c3ebf55
27 changed files with 2030 additions and 84 deletions

View File

@@ -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);
/* PiPiezo specific fields */
@@ -271,11 +276,6 @@
}
free(self);
}
/*------------------------------------------------------------------------*/
static int PIContinue(void *self)
{
return 0;
}
/*--------------------------------------------------------------------------
* The data necessary for initialising the PiPiezo motor is contained in a
* Tcl-Array given as pArray parameter. In case of an error the error is
@@ -383,7 +383,6 @@
pNew->GetStatus = PIStatus;
pNew->GetError = PIError;
pNew->TryAndFixIt = PIFixError;
pNew->ContinueAfterWarn = PIContinue;
pNew->Halt = PIHalt;
/* success */