- introduced header file dependency check
- improvements in ease drivers - no "Counting finished" message in tas scan
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user