annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
1 /**************************************************************************/
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
2 /* LabWindows/CVI User Interface Resource (UIR) Include File */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
3 /* Copyright (c) National Instruments 2010. All Rights Reserved. */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
4 /* */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
5 /* WARNING: Do not add to, delete from, or otherwise modify the contents */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
6 /* of this include file. */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
7 /**************************************************************************/
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
8
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
9 #include <userint.h>
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
10
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
11 #ifdef __cplusplus
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
12 extern "C" {
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
13 #endif
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
14
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
15 /* Panels and Controls: */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
16
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
17 #define ALLANPANEL 1 /* callback function: CB_GeneralAllanPanel */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
18 #define ALLANPANEL_NORMALIZER 2 /* callback function: Allan_CB_ChangeNormalizer */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
19 #define ALLANPANEL_ALLANPLOT 3
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
20 #define ALLANPANEL_MAX 4 /* callback function: Allan_CB_ChangeMax */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
21 #define ALLANPANEL_MIN 5 /* callback function: Allan_CB_ChangeMin */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
22 #define ALLANPANEL_CHECKBOX_AUTOSCALE 6 /* callback function: Allan_CB_ChangeAutoScale */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
23 #define ALLANPANEL_RESETBUTTON 7 /* callback function: Allan_CB_Reset */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
24 #define ALLANPANEL_DRIFT 8
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
25 #define ALLANPANEL_DEDRIFT 9
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
26
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
27
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
28 /* Menu Bars, Menus, and Menu Items: */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
29
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
30 /* (no menu bars in the resource file) */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
31
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
32
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
33 /* Callback Prototypes: */
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
34
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
35 int CVICALLBACK Allan_CB_ChangeAutoScale(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
36 int CVICALLBACK Allan_CB_ChangeMax(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
37 int CVICALLBACK Allan_CB_ChangeMin(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
38 int CVICALLBACK Allan_CB_ChangeNormalizer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
39 int CVICALLBACK Allan_CB_Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
40 int CVICALLBACK CB_GeneralAllanPanel(int panel, int event, void *callbackData, int eventData1, int eventData2);
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
41
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
42
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
43 #ifdef __cplusplus
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
44 }
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
45 #endif