- 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:
12
counter.c
12
counter.c
@ -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;
|
||||
|
Reference in New Issue
Block a user