- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user