PSI UPDATE

r1724 | ffr | 2007-03-27 07:56:13 +1000 (Tue, 27 Mar 2007) | 2 lines
This commit is contained in:
Ferdi Franceschini
2007-03-27 07:56:13 +10:00
committed by Douglas Clowes
parent cd0de991b4
commit 6921d0426c
47 changed files with 569 additions and 648 deletions

View File

@@ -308,22 +308,7 @@
{
DynarGet(self->pVariables,i,&pData);
pOVar = (pOVarEntry)pData;
if(FindMotor(pServ->pSics,pOVar->pName) != NULL)
{
iRet = MotorGetSoftPosition(pOVar->pData,pCon,&fVal);
if(iRet == 1)
{
pOVar->fCenter = fVal;
}
else
{
pOVar->fCenter = -1000.;
}
}
else
{
pOVar->fCenter = pOVar->pDriv->GetValue(pOVar->pData,pCon);
}
pOVar->fCenter = pOVar->pDriv->GetValue(pOVar->pData,pCon);
if(pOVar->fCenter < -900.)
{
return SCANERROR;