Mercurial > hg > fxanalyse
view DDS_Fox.h @ 209:11a88d389705
Adapt to new AD9956 interface
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 31 Mar 2014 17:03:38 +0200 |
parents | 87dae6d62a61 |
children |
line wrap: on
line source
struct ad9956 { char ip[255]; int Port; double Clock; double SweepRate; double Delta_T; unsigned int Profil; }; typedef struct ad9956 DDSParameter; void DDSFox_Init(DDSParameter *Param, char *ip, int port); void DDSFox_Reset(DDSParameter * Param, 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_DeviceReset(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);