- 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:
@ -711,8 +711,13 @@ static int copyHM(pSICSData self, int argc, char *argv[],
|
||||
SCWrite(pCon, "ERROR: out of memory in SICSData copyhm", eError);
|
||||
return 0;
|
||||
}
|
||||
GetHistogramDirect(pHist, pCon, 0, start, end, iData,
|
||||
if(end > GetHistLength(pHist)){
|
||||
GetHistogramDirect(pHist, pCon, 0, start, end, iData,
|
||||
(end - start) * sizeof(int));
|
||||
} else {
|
||||
GetHistogram(pHist, pCon, 0, start, end, iData,
|
||||
(end - start) * sizeof(int));
|
||||
}
|
||||
assignType(self, pos, pos + (end - start), INTTYPE);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user