- Added a multiple histogram memory control module. This required a

tiny change in the countable interface which in turn required updating
  of header file includes in a lot of files.
- Some small fixes to TRICS writing as well.
This commit is contained in:
cvs
2001-06-08 15:18:35 +00:00
parent 2d16479717
commit 8f84d45dd6
48 changed files with 671 additions and 157 deletions

View File

@ -134,6 +134,17 @@
}
return NULL;
}
/*------------------------------------------------------------------------*/
static void HistSetParameter(void *pData, float fPreset, CounterMode eMode)
{
pHistMem self = NULL;
self = (pHistMem)pData;
assert(self);
self->pDriv->eCount = eMode;
self->pDriv->fCountPreset = fPreset;
}
/*-------------------------------------------------------------------------*/
static int HistStartCount(void *pData, SConnection *pCon)
{
@ -409,6 +420,7 @@
free(pNew);
return NULL;
}
pNew->pCountInt->SetCountParameters = HistSetParameter;
pNew->pCountInt->StartCount = HistStartCount;
pNew->pCountInt->CheckCountStatus = HistCountStatus;
pNew->pCountInt->TransferData = HistTransfer;