- Improved centering in DIFRAC

- Fixed a bug in UserWait
- Improved scan message in scancom
- Added zero point correction in lin2ang
- fixed an issue with uuencoded messages
This commit is contained in:
cvs
2000-04-06 12:18:53 +00:00
parent 8ba6bf7758
commit ff5e8cf0b2
35 changed files with 227 additions and 47 deletions

View File

@ -94,12 +94,14 @@
/*-----------------------------------------------------------------------*/
static float L2AGetValue(void *pData, SConnection *pCon)
{
float fX;
float fX, zero = 0.;
pLin2Ang self = NULL;
self = (pLin2Ang)pData;
assert(self);
fX = self->lin->pDrivInt->GetValue(self->lin,pCon);
MotorGetPar(self->lin,"softzero",&zero);
fX -= zero;
return x2ang(self,fX);
}
/*------------------------------------------------------------------------*/