mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
enCalLog and angCalLog added
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@233 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -154,6 +154,8 @@ double defaultGetPosition(void *d) {
|
||||
pos=value;
|
||||
} else
|
||||
printf(ca_message(status));
|
||||
#else
|
||||
printf("\nmotor position is %f\n",pos);
|
||||
#endif
|
||||
|
||||
|
||||
@ -184,10 +186,13 @@ int defaultGoToPosition(double p,void *d) {
|
||||
printf(ca_message(status));
|
||||
#else
|
||||
pos=p;
|
||||
printf("\nmoving motor to position %f\n",p);
|
||||
#endif
|
||||
//"caputq X04SA-ES2-TH2:RO p"
|
||||
//cawait -nounit -timeout 3600 X04SA-ES2-TH2:RO.DMOV '==1'
|
||||
|
||||
|
||||
|
||||
return (int)p;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user