Mercurial > hg > fxanalyse
view DDS_Fox.h @ 146:931ebae87964
Tweaks to FakeDataProvider
Make generated counter data more realistic. Add the possibility to add noise
to the generated data. Make the sampling period easier to change.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 22 Jan 2014 14:45:24 +0100 |
parents | 64a7a1d3d75c |
children | 12df3a2b18de |
line wrap: on
line source
typedef struct { char Name[255]; char ip[255]; int Port; //int Divider; double Clock; double SweepRate; double Delta_T; unsigned int Profil; } DDSParameter; void DDSFox_Initialize(DDSParameter *Param, char *ip, int port, double frequency); void DDSFox_SetSweepRate(DDSParameter *Param, double sweepRate); void DDSFox_Set(DDSParameter *Param, double frequency, double sweepRate); void DDSFox_Nop(DDSParameter *Param); void DDSFox_SetProfile(DDSParameter *Param); void DDSFox_SetDiv(DDSParameter *Param, int div); void DDSFox_Reset(DDSParameter * Param); void DDSFox_SetFreq (DDSParameter * Param) ; void DDSFox_SetFreqInf (DDSParameter *Param, double frequency) ; void DDSFox_SetFreqSup (DDSParameter *Param, double frequency) ; void DDSFox_SetFreqMax (DDSParameter *Param); void DDSFox_SetFreqMin (DDSParameter *Param) ; void DDSFox_SetDT(DDSParameter * Param); void DDSFox_SetDf(DDSParameter * Param); int DDSFox_GetSweepSign(DDSParameter * Param); void DDSFox_SetSweepSign(DDSParameter * Param) ; void DDSFox_StopSweep(DDSParameter * Param); void DDSFox_StartSweep(DDSParameter * Param); double DDSFox_ReadFreq(DDSParameter * Param);