- Renamed tasdrive to ptasdrive in order to help debugging

- Added ritastorage in order to solve storage order problem for
  RITA's area detector
This commit is contained in:
koennecke
2006-09-13 07:12:57 +00:00
parent 0681639dd3
commit 88fa7449af
10 changed files with 465 additions and 22 deletions

View File

@@ -927,6 +927,13 @@ static int ECBGetDriverPar(void *pData,char *name, float *value){
*value = self->ecbIndex;
return 1;
}
/*
* catch the command parameters
*/
if(strcmp(name,"putpos") == 0 || strcmp(name,"download") == 0){
*value = .0;
return 1;
}
par = ObParFind(self->driverPar,name);
if(par != NULL){
@@ -1151,7 +1158,7 @@ static void ECBListPar(void *pData, char *motorName, SConnection *pCon){
assert(self);
for(i = 0; i < MAXPAR-1; i++){
sprintf(pBueffel,"%s.%s = %f",
snprintf(pBueffel,255,"%s.%s = %f",
motorName,self->driverPar[i].name,
self->driverPar[i].fVal);
SCWrite(pCon,pBueffel,eValue);