- 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:
koennecke
2012-12-20 11:32:34 +00:00
parent 28cea49d01
commit 59d292cb79
9 changed files with 44 additions and 65 deletions

View File

@ -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) {