- Added isactive command to scan. Such that collect can test for another scan running before starting
This commit is contained in:
6
scan.c
6
scan.c
@ -1724,6 +1724,12 @@ int ScanWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCWrite(pCon, pBueffel, eValue);
|
||||
return 1;
|
||||
}
|
||||
/*-------- isactive */
|
||||
else if (strcmp(argv[1], "isactive") == 0) {
|
||||
snprintf(pBueffel,sizeof(pBueffel)-1, "%s.active = %d", argv[0], self->iActive);
|
||||
SCWrite(pCon, pBueffel, eValue);
|
||||
return 1;
|
||||
}
|
||||
/*--------- getvardata */
|
||||
else if (strcmp(argv[1], "getvardata") == 0) {
|
||||
/* we need an integer parameter saying which */
|
||||
|
Reference in New Issue
Block a user