- Implemented defpos for multiple motors

- Implemented automatic backup on parameter change
- Implemented silent restore
- Cleaned a couple of unused flags from connection object
This commit is contained in:
cvs
2003-02-19 08:29:46 +00:00
parent e6d39f3ac8
commit 98cfb3ddda
31 changed files with 491 additions and 101 deletions

View File

@ -310,7 +310,6 @@
{
SCWrite(pCon,"ERROR: failed to fix histogram memory problem",eError);
SCSetInterrupt(pCon,eAbortBatch);
SCSetError(pCon,eCt);
return eCt;
}
else
@ -1068,6 +1067,7 @@ static int checkHMEnd(pHistMem self, char *text){
return 0;
}
iRet = SetHistPreset(self,fVal);
SCparChange(pCon);
SCSendOK(pCon);
return 1;
}
@ -1087,6 +1087,7 @@ static int checkHMEnd(pHistMem self, char *text){
return 0;
}
self->iExponent = atoi(argv[2]);
SCparChange(pCon);
SCSendOK(pCon);
return 1;
}
@ -1122,6 +1123,7 @@ static int checkHMEnd(pHistMem self, char *text){
return 0;
}
iRet = SetHistCountMode(self,eCount);
SCparChange(pCon);
SCSendOK(pCon);
return 1;
}
@ -1497,6 +1499,7 @@ static int checkHMEnd(pHistMem self, char *text){
}
genTimeBinning(self->pDriv->data,
(float)dStart,(float)dStep,iNum);
SCparChange(pCon);
SCSendOK(pCon);
return 1;
}