- Fixed problems at ANSTO

- Some missing files


SKIPPED:
	psi/amor2t.w
This commit is contained in:
cvs
2004-03-09 12:10:00 +00:00
parent abb48f4b10
commit f109d9a8c9
10 changed files with 57 additions and 40 deletions

View File

@ -230,6 +230,10 @@ static int checkPosition(pMotor self, SConnection *pCon)
self->fPosition = fHard;
if(absf(fHard - self->fTarget) > ObVal(self->ParArray,PREC))
{
if(SCGetInterrupt(pCon) != eContinue)
{
return HWFault;
}
snprintf(pBueffel,131,"WARNING: %s off position by %f",
self->name, absf(fHard - self->fTarget));
SCWrite(pCon,pBueffel, eWarning);