- Reworked the connection object and the IO system

- Reworked the support for TRICS
- Added a second generation motor
This commit is contained in:
koennecke
2009-02-03 08:05:39 +00:00
parent f6d595665e
commit 361ee9ebea
119 changed files with 16455 additions and 3674 deletions

View File

@ -131,21 +131,21 @@
{
SCSetInterrupt(pCon,eContinue);
sprintf(pBueffel,"Driving %s aborted at %9.3f",name, fPos);
SCWrite(pCon,pBueffel,eStatus);
SCWrite(pCon,pBueffel,eError);
}
return 0;
}
else if(iRet == DEVDONE)
{
sprintf(pBueffel,"Driving %s to %9.3f done", name, fPos);
SCWrite(pCon,pBueffel,eStatus);
SCWrite(pCon,pBueffel,eValue);
return 1;
}
else
{
sprintf(pBueffel,
"Driving %s finished with problems, position: %9.3f",name,fPos);
SCWrite(pCon,pBueffel,eStatus);
SCWrite(pCon,pBueffel,eValue);
return 1;
}
}
@ -393,7 +393,7 @@
SetStatus(eOld);
return 0;
}
SCWrite(pCon,"Driving finished sucessfully",eStatus);
SCWrite(pCon,"Driving finished sucessfully",eValue);
SetStatus(eOld);
return 1;
}