Mercurial > hg > fxanalyse
diff DDS_Fox.h @ 184:12df3a2b18de
Do not reset dedrift DDS at program initialization
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 21 Feb 2014 18:42:30 +0100 |
parents | 64a7a1d3d75c |
children | 87dae6d62a61 |
line wrap: on
line diff
--- a/DDS_Fox.h Fri Feb 21 18:42:30 2014 +0100 +++ b/DDS_Fox.h Fri Feb 21 18:42:30 2014 +0100 @@ -1,21 +1,20 @@ 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_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_Reset(DDSParameter * Param); +void DDSFox_DeviceReset(DDSParameter * Param); void DDSFox_SetFreq (DDSParameter * Param) ; void DDSFox_SetFreqInf (DDSParameter *Param, double frequency) ; void DDSFox_SetFreqSup (DDSParameter *Param, double frequency) ;