- 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

@ -70,6 +70,17 @@
return self->pDriv->Halt(self->pDriv);
}
/*--------------------------------------------------------------------------*/
static void SetCountParameters(void *pData, float fPreset, CounterMode eMode)
{
pCounter self = NULL;
assert(pData);
self = (pCounter)pData;
self->pDriv->fPreset = fPreset;
self->pDriv->eMode = eMode;
}
/*-----------------------------------------------------------------------*/
static int StartCount(void *pData, SConnection *pCon)
{
@ -355,6 +366,7 @@
free(pRes);
return NULL;
}
pRes->pCountInt->SetCountParameters = SetCountParameters;
pRes->pCountInt->StartCount = StartCount;
pRes->pCountInt->CheckCountStatus = CheckCountStatus;
pRes->pCountInt->TransferData = TransferData;