- Fixed documentation typos
- In support of HMsec, allow the count command in countsec to run without a preset parameter. If this is missing the old, stored preset is used. - Removed a check which causes initialisation of the HM from a batch file fail for POLDI - fixed @nl@ encoding of \n problem with certain kinds of batch files generated by GTSE - Fixed a bug with summing on hitsmemsec. nxdataset now uses 64 bit int for dimensions. - Fixed motorsec to remove itself properly from a parent when linked. Please note that there is still the limitation that a second generation motor can only be linked once in a Hipadaba tree - Extended subsampling a HM for second generation HM - Added a hscriptnotify. This calls a script on the update of a node - POLDI has been rebuilt, chnages to data file writing - For testing, sinqhttopt now understands a special command, byteswapoff, which switches off byte swapping. Required when the HM ius run on an Intel box. SKIPPED: psi/polterwrite.c psi/sinqhttpopt.c
This commit is contained in:
11
histmemsec.c
11
histmemsec.c
@ -203,7 +203,7 @@ static int SumCmd(pSICSOBJ ccmd, SConnection * pCon,
|
||||
{
|
||||
pHdb dimNode = NULL, dataNode = NULL;
|
||||
int xstart, xend, ystart, yend, i;
|
||||
long lSum;
|
||||
long lSum = 0;
|
||||
|
||||
dimNode = GetHipadabaNode(ccmd->objectNode,"dim");
|
||||
dataNode = GetHipadabaNode(ccmd->objectNode,"data");
|
||||
@ -325,6 +325,15 @@ int MakeSecHM(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
if(pRes == NULL){
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
remove count and rename countnb to it
|
||||
*/
|
||||
node = GetHipadabaNode(pRes->pDes->parNode,"count");
|
||||
DeleteHipadabaNode(node,NULL);
|
||||
node = GetHipadabaNode(pRes->pDes->parNode,"countnb");
|
||||
strcpy(node->name,"count");
|
||||
|
||||
|
||||
pRes->pCountInt->TransferData = HMCtrTransferData;
|
||||
|
||||
node = pRes->objectNode;
|
||||
|
Reference in New Issue
Block a user