- introduced header file dependency check

- improvements in ease drivers
- no "Counting finished" message in tas scan
This commit is contained in:
zolliker
2009-11-10 10:40:14 +00:00
parent 4aca8c9e94
commit 3021eda66f
10 changed files with 59 additions and 40 deletions

View File

@ -745,7 +745,7 @@ static int TASScanCount(pScanData self, int iPoint)
*/
fVal = GetCounterPreset(self->pCounterData);
eOld = GetStatus();
status = DoCount(self->pCounterData, fVal, self->pCon, 1);
status = DoCount(self->pCounterData, fVal, self->pCon, 2);
iRet = Wait4Success(GetExecutor());
if (iRet == DEVINT) {
SCWrite(self->pCon, "Counting aborted due to Interrupt", eLog);
@ -1322,6 +1322,10 @@ int TASScan(SConnection * pCon, SicsInterp * pSics, void *pData,
if (!SCMatchRights(pCon, usUser))
return 0;
if (pTAS->pScan->iActive) {
SCWrite(pCon, "ERROR: a scan is still running", eError);
return 0;
}
/*
check if we are a fast scan or a normal scan
*/