- Many fixes to tas code
- fixes to amor writing and status code - edited ecbcounter to stop at no beam - updated documentation - fixed a bug in project code affecting SANS
This commit is contained in:
10
tasinit.c
10
tasinit.c
@@ -50,6 +50,7 @@ extern char *tasMotorOrder[] = { "a1",
|
||||
"sgl",
|
||||
"sgu",
|
||||
"agl",
|
||||
"atl",
|
||||
"tt",
|
||||
"i1" ,
|
||||
"i2",
|
||||
@@ -229,13 +230,22 @@ static int TasSaveStatus(void *self, char *name, FILE *fd)
|
||||
fprintf(fd,"%s hardupperlim %f\n",tasMotorOrder[i], value);
|
||||
MotorGetPar(pMot,"hardlowerlim",&value);
|
||||
fprintf(fd,"%s hardlowerlim %f\n",tasMotorOrder[i], value);
|
||||
/*
|
||||
DISABLED: reading all the motors made to much of a delay during
|
||||
normal operation of the instrument. This is mainly due to the
|
||||
sloooooooooowwwwwwwww SINQ hardware
|
||||
MotorGetSoftPosition(pMot,pCon,&value);
|
||||
fprintf(fd,"run %s %f\n",tasMotorOrder[i], value);
|
||||
*/
|
||||
}
|
||||
i++;
|
||||
}
|
||||
SCDeleteConnection(pCon);
|
||||
/*
|
||||
fprintf(fd,"success\n");
|
||||
*/
|
||||
|
||||
fprintf(fd,"updateqe\n");
|
||||
return 1;
|
||||
}
|
||||
/*---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user