Mercurial > hg > fxanalyse
view FXAllan.h @ 45:b47b97cfd050
Fix output frequency read back in DDS Fox driver
The FTW registry value was read back wrong due to an integer overflow in the
conversion from bytes string to double. This should fix the "jumps" seen in the
application of the frequency dedrifting.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 10 Oct 2012 12:14:01 +0200 |
parents | d9aae7d7f2c6 |
children | 77539f2597b1 |
line wrap: on
line source
/**************************************************************************/ /* LabWindows/CVI User Interface Resource (UIR) Include File */ /* Copyright (c) National Instruments 2010. All Rights Reserved. */ /* */ /* WARNING: Do not add to, delete from, or otherwise modify the contents */ /* of this include file. */ /**************************************************************************/ #include <userint.h> #ifdef __cplusplus extern "C" { #endif /* Panels and Controls: */ #define ALLANPANEL 1 /* callback function: CB_GeneralAllanPanel */ #define ALLANPANEL_NORMALIZER 2 /* callback function: Allan_CB_ChangeNormalizer */ #define ALLANPANEL_ALLANPLOT 3 #define ALLANPANEL_MAX 4 /* callback function: Allan_CB_ChangeMax */ #define ALLANPANEL_MIN 5 /* callback function: Allan_CB_ChangeMin */ #define ALLANPANEL_CHECKBOX_AUTOSCALE 6 /* callback function: Allan_CB_ChangeAutoScale */ #define ALLANPANEL_RESETBUTTON 7 /* callback function: Allan_CB_Reset */ #define ALLANPANEL_DRIFT 8 #define ALLANPANEL_DEDRIFT 9 /* Menu Bars, Menus, and Menu Items: */ /* (no menu bars in the resource file) */ /* Callback Prototypes: */ int CVICALLBACK Allan_CB_ChangeAutoScale(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK Allan_CB_ChangeMax(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK Allan_CB_ChangeMin(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK Allan_CB_ChangeNormalizer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK Allan_CB_Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); int CVICALLBACK CB_GeneralAllanPanel(int panel, int event, void *callbackData, int eventData1, int eventData2); #ifdef __cplusplus } #endif