- Removed old code
- Extended tasker to support task groups - Added task functions for motors and counters - Modifed devexec to use the new task functions - Modified TAS to treat the monochromator separatly - Coded a EIGER monochromator module to reflect even more new requirements - Added EPICS counters and motors - Modified multicounter to be better performing SKIPPED: psi/eigermono.c psi/make_gen psi/makefile_linux psi/psi.c psi/sinqhttp.c
This commit is contained in:
3
hmdata.c
3
hmdata.c
@ -59,6 +59,7 @@ void clearHMData(pHMdata self)
|
||||
size *= getNoOfTimebins(self);
|
||||
}
|
||||
memset(self->localBuffer, 0, size * sizeof(HistInt));
|
||||
self->nextUpdate = time(NULL) + self->updateIntervall;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
@ -313,7 +314,7 @@ static int updateHMbuffer(pHistMem hist, int bank, SConnection * pCon)
|
||||
}
|
||||
if (status == OKOK) {
|
||||
return 1;
|
||||
} else {
|
||||
} else {
|
||||
return HWFault;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user