- Added bridge functions to histmemsec to make it look more like histmem
- Modifed many modules using histmem to work also with histmemsec - Extended tasker with task names and task groups - There is a new taskobj which allows to list tasks and to interact with them. - Task now supports running Tcl functions as tasks - There is a new experimental sctcomtask module which allows to define communication tasks against a scriptcontext. This is a new feature which should facilitate writing sequential scripts using asynchronous communication. - A fix to make spss7 work when there are no switches - ORION support for single X. TRICS measures crystals hanging down, ORION standing up
This commit is contained in:
12
faverage.c
12
faverage.c
@ -384,9 +384,7 @@ int MakeFA(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCWrite(pCon, "ERROR: mbank value not found!", eError);
|
||||
}
|
||||
if (mbank == 1) {
|
||||
pCom = FindCommand(pSics, "hm2");
|
||||
pDum = (pDummy) pCom->pData;
|
||||
pNew->pHistogram2 = (pHistMem) pDum;
|
||||
pNew->pHistogram2 = FindHM(pSics,"hm2");
|
||||
}
|
||||
var1 = FindVariable(pServ->pSics, "lbank");
|
||||
if (var1) {
|
||||
@ -395,9 +393,7 @@ int MakeFA(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCWrite(pCon, "ERROR: lbank value not found!", eError);
|
||||
}
|
||||
if (lbank == 1) {
|
||||
pCom = FindCommand(pSics, "hm1");
|
||||
pDum = (pDummy) pCom->pData;
|
||||
pNew->pHistogram1 = (pHistMem) pDum;
|
||||
pNew->pHistogram1 = FindHM(pSics,"hm1");
|
||||
}
|
||||
var3 = FindVariable(pServ->pSics, "ubank");
|
||||
if (var3) {
|
||||
@ -406,9 +402,7 @@ int MakeFA(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCWrite(pCon, "ERROR: ubank value not found!", eError);
|
||||
}
|
||||
if (ubank == 1) {
|
||||
pCom = FindCommand(pSics, "hm3");
|
||||
pDum = (pDummy) pCom->pData;
|
||||
pNew->pHistogram3 = (pHistMem) pDum;
|
||||
pNew->pHistogram3 = FindHM(pSics,"hm3");
|
||||
}
|
||||
iRet = AddCommand(pSics, argv[1], FocusAverageDo, KillFA, pNew);
|
||||
if (!iRet) {
|
||||
|
Reference in New Issue
Block a user