- Added a protocol to spuuoprt the FOCUS Pfeiffer vacuum protocol

- Changed floor() to round() in sanslirebin
- Some changes to accomodate the new run/drive behaviour
- Added the the sps bipa command
This commit is contained in:
koennecke
2009-04-17 12:54:16 +00:00
parent 6a0449ac95
commit 28bee49727
12 changed files with 157 additions and 12 deletions

13
docho.c
View File

@@ -117,8 +117,8 @@ static void SplitChopperReply(pCodri self, char *prefix, char *pBueffel)
strcat(self->pParList, ",");
}
} else {
/* this fixes a bug with oversized messages in dphas */
if (strstr(pPtr, "dphas") != NULL) {
/* this fixes a bug with oversized messages in dphas oder averl*/
if (strstr(pPtr, "dphas") != NULL ) {
sprintf(pEntry, "%s.dphas", prefix);
iRet = StringDictUpdate(pPriv->pPar, pEntry, pPtr + 5);
if (!iRet) {
@@ -127,6 +127,15 @@ static void SplitChopperReply(pCodri self, char *prefix, char *pBueffel)
strcat(self->pParList, ",");
}
}
if (strstr(pPtr, "averl") != NULL ) {
sprintf(pEntry, "%s.averl", prefix);
iRet = StringDictUpdate(pPriv->pPar, pEntry, pPtr + 5);
if (!iRet) {
StringDictAddPair(pPriv->pPar, pEntry, pPtr + 5);
strcat(self->pParList, pEntry);
strcat(self->pParList, ",");
}
}
}
pPtr = strtok(NULL, ";");
}