- Fixed problems at ANSTO
- Some missing files SKIPPED: psi/amor2t.w
This commit is contained in:
4
motor.c
4
motor.c
@ -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);
|
||||
|
Reference in New Issue
Block a user