comparison FXAnalyse.h @ 123:35861fe64d14

Allow to set dedrift DDS central frequency. Add option to double applied slope.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Thu, 12 Dec 2013 17:21:15 +0100
parents bdd3ec3c212e
children bdfc61a8ebee
comparison
equal deleted inserted replaced
122:bdd3ec3c212e 123:35861fe64d14
56 #define PANEL_CHECKBOX_FREQ1PLOT 19 /* control type: radioButton, callback function: CB_OnFreqPlot */ 56 #define PANEL_CHECKBOX_FREQ1PLOT 19 /* control type: radioButton, callback function: CB_OnFreqPlot */
57 #define PANEL_DDS2 20 /* control type: numeric, callback function: CB_ChangeDDSOut */ 57 #define PANEL_DDS2 20 /* control type: numeric, callback function: CB_ChangeDDSOut */
58 #define PANEL_TEXTMSG 21 /* control type: textMsg, callback function: (none) */ 58 #define PANEL_TEXTMSG 21 /* control type: textMsg, callback function: (none) */
59 #define PANEL_TEXTMSG_2 22 /* control type: textMsg, callback function: (none) */ 59 #define PANEL_TEXTMSG_2 22 /* control type: textMsg, callback function: (none) */
60 #define PANEL_SLOPETIME 23 /* control type: numeric, callback function: CB_ChangeSlopeTime */ 60 #define PANEL_SLOPETIME 23 /* control type: numeric, callback function: CB_ChangeSlopeTime */
61 #define PANEL_DDS1 24 /* control type: numeric, callback function: CB_ChangeDDSOut */ 61 #define PANEL_DEDRIFT_DDS_FREQ 24 /* control type: numeric, callback function: CB_DedriftDDSFreq */
62 #define PANEL_CHANGENDIV 25 /* control type: numeric, callback function: CB_OnChangeNdiv */ 62 #define PANEL_DDS1 25 /* control type: numeric, callback function: CB_ChangeDDSOut */
63 #define PANEL_N3CHOICE 26 /* control type: numeric, callback function: CB_ChangeN */ 63 #define PANEL_CHANGENDIV 26 /* control type: numeric, callback function: CB_OnChangeNdiv */
64 #define PANEL_N3CALCULUS 27 /* control type: command, callback function: CB_OnNCalculus */ 64 #define PANEL_N3CHOICE 27 /* control type: numeric, callback function: CB_ChangeN */
65 #define PANEL_N1CHOICE 28 /* control type: numeric, callback function: CB_ChangeN */ 65 #define PANEL_N3CALCULUS 28 /* control type: command, callback function: CB_OnNCalculus */
66 #define PANEL_N2CHOICE 29 /* control type: numeric, callback function: CB_ChangeN */ 66 #define PANEL_N1CHOICE 29 /* control type: numeric, callback function: CB_ChangeN */
67 #define PANEL_N2CALCULUS 30 /* control type: command, callback function: CB_OnNCalculus */ 67 #define PANEL_N2CHOICE 30 /* control type: numeric, callback function: CB_ChangeN */
68 #define PANEL_DDS4STEP 31 /* control type: ring, callback function: CB_ChangeDDSStep */ 68 #define PANEL_N2CALCULUS 31 /* control type: command, callback function: CB_OnNCalculus */
69 #define PANEL_DDS3STEP 32 /* control type: ring, callback function: CB_ChangeDDSStep */ 69 #define PANEL_DDS4STEP 32 /* control type: ring, callback function: CB_ChangeDDSStep */
70 #define PANEL_DDS2STEP 33 /* control type: ring, callback function: CB_ChangeDDSStep */ 70 #define PANEL_DDS3STEP 33 /* control type: ring, callback function: CB_ChangeDDSStep */
71 #define PANEL_CENTERFREQUENCY 34 /* control type: numeric, callback function: (none) */ 71 #define PANEL_DDS2STEP 34 /* control type: ring, callback function: CB_ChangeDDSStep */
72 #define PANEL_SLOPE_APPLIED 35 /* control type: numeric, callback function: CB_SetSlope */ 72 #define PANEL_CENTERFREQUENCY 35 /* control type: numeric, callback function: (none) */
73 #define PANEL_MATH4 36 /* control type: numeric, callback function: (none) */ 73 #define PANEL_SLOPE_APPLIED 36 /* control type: numeric, callback function: CB_SetSlope */
74 #define PANEL_MATH5 37 /* control type: numeric, callback function: (none) */ 74 #define PANEL_MATH4 37 /* control type: numeric, callback function: (none) */
75 #define PANEL_MATH3 38 /* control type: numeric, callback function: (none) */ 75 #define PANEL_MATH5 38 /* control type: numeric, callback function: (none) */
76 #define PANEL_CHECKBOX_MATH5PLOT 39 /* control type: radioButton, callback function: CB_OnFreqPlot */ 76 #define PANEL_MATH3 39 /* control type: numeric, callback function: (none) */
77 #define PANEL_CHECKBOX_MATH4PLOT 40 /* control type: radioButton, callback function: CB_OnFreqPlot */ 77 #define PANEL_CHECKBOX_MATH5PLOT 40 /* control type: radioButton, callback function: CB_OnFreqPlot */
78 #define PANEL_CHECKBOX_MATH4ALLAN 41 /* control type: radioButton, callback function: CB_OnAllanPlot */ 78 #define PANEL_CHECKBOX_MATH4PLOT 41 /* control type: radioButton, callback function: CB_OnFreqPlot */
79 #define PANEL_DDS1STEP 42 /* control type: ring, callback function: CB_ChangeDDSStep */ 79 #define PANEL_CHECKBOX_MATH4ALLAN 42 /* control type: radioButton, callback function: CB_OnAllanPlot */
80 #define PANEL_TEXTMSG_15 43 /* control type: textMsg, callback function: (none) */ 80 #define PANEL_DDS1STEP 43 /* control type: ring, callback function: CB_ChangeDDSStep */
81 #define PANEL_CHECKBOX_MATH5ALLAN 44 /* control type: radioButton, callback function: CB_OnAllanPlot */ 81 #define PANEL_TEXTMSG_15 44 /* control type: textMsg, callback function: (none) */
82 #define PANEL_CHECKBOX_MATH3PLOT 45 /* control type: radioButton, callback function: CB_OnFreqPlot */ 82 #define PANEL_CHECKBOX_MATH5ALLAN 45 /* control type: radioButton, callback function: CB_OnAllanPlot */
83 #define PANEL_CHECKBOX_MATH5SAVE 46 /* control type: radioButton, callback function: (none) */ 83 #define PANEL_CHECKBOX_MATH3PLOT 46 /* control type: radioButton, callback function: CB_OnFreqPlot */
84 #define PANEL_SR_LOGGER 47 /* control type: radioButton, callback function: (none) */ 84 #define PANEL_CHECKBOX_MATH5SAVE 47 /* control type: radioButton, callback function: (none) */
85 #define PANEL_CHECKBOX_MATH4SAVE 48 /* control type: radioButton, callback function: (none) */ 85 #define PANEL_SR_LOGGER 48 /* control type: radioButton, callback function: (none) */
86 #define PANEL_CHECKBOX_MATH3ALLAN 49 /* control type: radioButton, callback function: CB_OnAllanPlot */ 86 #define PANEL_CHECKBOX_MATH4SAVE 49 /* control type: radioButton, callback function: (none) */
87 #define PANEL_MATHSTRING4 50 /* control type: string, callback function: CB_ChangeMath */ 87 #define PANEL_CHECKBOX_MATH3ALLAN 50 /* control type: radioButton, callback function: CB_OnAllanPlot */
88 #define PANEL_MATH2 51 /* control type: numeric, callback function: (none) */ 88 #define PANEL_MATHSTRING4 51 /* control type: string, callback function: CB_ChangeMath */
89 #define PANEL_CHECKBOX_MATH2PLOT 52 /* control type: radioButton, callback function: CB_OnFreqPlot */ 89 #define PANEL_MATH2 52 /* control type: numeric, callback function: (none) */
90 #define PANEL_CHECKBOX_MATH3SAVE 53 /* control type: radioButton, callback function: (none) */ 90 #define PANEL_CHECKBOX_MATH2PLOT 53 /* control type: radioButton, callback function: CB_OnFreqPlot */
91 #define PANEL_CHECKBOX_MATH2SAVE 54 /* control type: radioButton, callback function: (none) */ 91 #define PANEL_CHECKBOX_MATH3SAVE 54 /* control type: radioButton, callback function: (none) */
92 #define PANEL_CHECKBOX_MATH2ALLAN 55 /* control type: radioButton, callback function: CB_OnAllanPlot */ 92 #define PANEL_CHECKBOX_MATH2SAVE 55 /* control type: radioButton, callback function: (none) */
93 #define PANEL_MATHSTRING3 56 /* control type: string, callback function: CB_ChangeMath */ 93 #define PANEL_CHECKBOX_MATH2ALLAN 56 /* control type: radioButton, callback function: CB_OnAllanPlot */
94 #define PANEL_MATH1 57 /* control type: numeric, callback function: (none) */ 94 #define PANEL_MATHSTRING3 57 /* control type: string, callback function: CB_ChangeMath */
95 #define PANEL_MATHSTRING1 58 /* control type: string, callback function: CB_ChangeMath */ 95 #define PANEL_MATH1 58 /* control type: numeric, callback function: (none) */
96 #define PANEL_TEXTMSG_10 59 /* control type: textMsg, callback function: (none) */ 96 #define PANEL_MATHSTRING1 59 /* control type: string, callback function: CB_ChangeMath */
97 #define PANEL_MATHSTRING2 60 /* control type: string, callback function: CB_ChangeMath */ 97 #define PANEL_TEXTMSG_10 60 /* control type: textMsg, callback function: (none) */
98 #define PANEL_TEXTMSG_16 61 /* control type: textMsg, callback function: (none) */ 98 #define PANEL_MATHSTRING2 61 /* control type: string, callback function: CB_ChangeMath */
99 #define PANEL_MINUS10KDDS1 62 /* control type: command, callback function: CB_OnMinus10k */ 99 #define PANEL_TEXTMSG_16 62 /* control type: textMsg, callback function: (none) */
100 #define PANEL_MINUS10KDDS4 63 /* control type: command, callback function: CB_OnMinus10k */ 100 #define PANEL_MINUS10KDDS1 63 /* control type: command, callback function: CB_OnMinus10k */
101 #define PANEL_MINUS10KDDS3 64 /* control type: command, callback function: CB_OnMinus10k */ 101 #define PANEL_MINUS10KDDS4 64 /* control type: command, callback function: CB_OnMinus10k */
102 #define PANEL_MINUS10KDDS2 65 /* control type: command, callback function: CB_OnMinus10k */ 102 #define PANEL_MINUS10KDDS3 65 /* control type: command, callback function: CB_OnMinus10k */
103 #define PANEL_PLUS10KDDS4 66 /* control type: command, callback function: CB_OnPlus10k */ 103 #define PANEL_MINUS10KDDS2 66 /* control type: command, callback function: CB_OnMinus10k */
104 #define PANEL_PLUS10KDDS3 67 /* control type: command, callback function: CB_OnPlus10k */ 104 #define PANEL_PLUS10KDDS4 67 /* control type: command, callback function: CB_OnPlus10k */
105 #define PANEL_PLUS10KDDS1 68 /* control type: command, callback function: CB_OnPlus10k */ 105 #define PANEL_PLUS10KDDS3 68 /* control type: command, callback function: CB_OnPlus10k */
106 #define PANEL_PLUS10KDDS2 69 /* control type: command, callback function: CB_OnPlus10k */ 106 #define PANEL_PLUS10KDDS1 69 /* control type: command, callback function: CB_OnPlus10k */
107 #define PANEL_TEXTMSG_11 70 /* control type: textMsg, callback function: (none) */ 107 #define PANEL_PLUS10KDDS2 70 /* control type: command, callback function: CB_OnPlus10k */
108 #define PANEL_MATHSTRING5 71 /* control type: textBox, callback function: CB_ChangeMath */ 108 #define PANEL_TEXTMSG_11 71 /* control type: textMsg, callback function: (none) */
109 #define PANEL_UTC 72 /* control type: numeric, callback function: (none) */ 109 #define PANEL_MATHSTRING5 72 /* control type: textBox, callback function: CB_ChangeMath */
110 #define PANEL_TIME 73 /* control type: string, callback function: (none) */ 110 #define PANEL_UTC 73 /* control type: numeric, callback function: (none) */
111 #define PANEL_DDS4 74 /* control type: numeric, callback function: CB_ChangeDDSOut */ 111 #define PANEL_TIME 74 /* control type: string, callback function: (none) */
112 #define PANEL_DDS3 75 /* control type: numeric, callback function: CB_ChangeDDSOut */ 112 #define PANEL_DDS4 75 /* control type: numeric, callback function: CB_ChangeDDSOut */
113 #define PANEL_N1CALCULUS 76 /* control type: command, callback function: CB_OnNCalculus */ 113 #define PANEL_DDS3 76 /* control type: numeric, callback function: CB_ChangeDDSOut */
114 #define PANEL_FINDSIGN3 77 /* control type: command, callback function: CB_OnFindSign */ 114 #define PANEL_N1CALCULUS 77 /* control type: command, callback function: CB_OnNCalculus */
115 #define PANEL_SIGN3 78 /* control type: numeric, callback function: CB_Sign3 */ 115 #define PANEL_FINDSIGN3 78 /* control type: command, callback function: CB_OnFindSign */
116 #define PANEL_FINDSIGN2 79 /* control type: command, callback function: CB_OnFindSign */ 116 #define PANEL_SIGN3 79 /* control type: numeric, callback function: CB_Sign3 */
117 #define PANEL_SIGN2 80 /* control type: numeric, callback function: (none) */ 117 #define PANEL_FINDSIGN2 80 /* control type: command, callback function: CB_OnFindSign */
118 #define PANEL_FINDSIGN1 81 /* control type: command, callback function: CB_OnFindSign */ 118 #define PANEL_SIGN2 81 /* control type: numeric, callback function: (none) */
119 #define PANEL_SIGN1 82 /* control type: numeric, callback function: (none) */ 119 #define PANEL_FINDSIGN1 82 /* control type: command, callback function: CB_OnFindSign */
120 #define PANEL_FIND10K3 83 /* control type: command, callback function: CB_OnFind275K */ 120 #define PANEL_SIGN1 83 /* control type: numeric, callback function: (none) */
121 #define PANEL_FIND275K2 84 /* control type: command, callback function: CB_OnFind275K */ 121 #define PANEL_FIND10K3 84 /* control type: command, callback function: CB_OnFind275K */
122 #define PANEL_RESETSLOPE 85 /* control type: command, callback function: CB_OnResetSlope */ 122 #define PANEL_FIND275K2 85 /* control type: command, callback function: CB_OnFind275K */
123 #define PANEL_CHECKBOX_STOPIFAUTODE 86 /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */ 123 #define PANEL_RESETSLOPE 86 /* control type: command, callback function: CB_OnResetSlope */
124 #define PANEL_CHECKBOX_RECENTER 87 /* control type: radioButton, callback function: CB_OnReCentering */ 124 #define PANEL_CHECKBOX_STOPIFAUTODE 87 /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */
125 #define PANEL_CHECKBOX_KEEPSLOPE 88 /* control type: radioButton, callback function: CB_OnCROX */ 125 #define PANEL_CHECKBOX_RECENTER 88 /* control type: radioButton, callback function: CB_OnReCentering */
126 #define PANEL_CHECKBOX_KEEP 89 /* control type: radioButton, callback function: CB_OnCROX */ 126 #define PANEL_CHECKBOX_KEEPSLOPE 89 /* control type: radioButton, callback function: CB_OnCROX */
127 #define PANEL_SLOPE_REFERENCE 90 /* control type: ring, callback function: CB_OnSlopeReference */ 127 #define PANEL_CHECKBOX_KEEP 90 /* control type: radioButton, callback function: CB_OnCROX */
128 #define PANEL_ESTIMATE_N3 91 /* control type: command, callback function: CB_OnEstimateN */ 128 #define PANEL_SLOPE_REFERENCE 91 /* control type: ring, callback function: CB_OnSlopeReference */
129 #define PANEL_INVERT_SLOPE_SIGN 92 /* control type: radioButton, callback function: CB_InvertSlopeSign */ 129 #define PANEL_ESTIMATE_N3 92 /* control type: command, callback function: CB_OnEstimateN */
130 #define PANEL_MEASURE_SLOPE 93 /* control type: LED, callback function: CB_MeasureSlope */ 130 #define PANEL_INVERT_SLOPE_SIGN 93 /* control type: radioButton, callback function: CB_InvertSlopeSign */
131 #define PANEL_SLOPE_MEASURED 94 /* control type: numeric, callback function: (none) */ 131 #define PANEL_MEASURE_SLOPE 94 /* control type: LED, callback function: CB_MeasureSlope */
132 #define PANEL_RESET_DEDRIFT_DDS 95 /* control type: command, callback function: CB_ResetDedriftDDS */ 132 #define PANEL_SLOPE_MEASURED 95 /* control type: numeric, callback function: (none) */
133 #define PANEL_SAVE_RAW_DATA 96 /* control type: radioButton, callback function: (none) */ 133 #define PANEL_RESET_DEDRIFT_DDS 96 /* control type: command, callback function: CB_ResetDedriftDDS */
134 #define PANEL_SHOWLOG 97 /* control type: radioButton, callback function: CB_ShowLog */ 134 #define PANEL_SAVE_RAW_DATA 97 /* control type: radioButton, callback function: (none) */
135 #define PANEL_SAVE_DDS_FREQS 98 /* control type: radioButton, callback function: (none) */ 135 #define PANEL_SHOWLOG 98 /* control type: radioButton, callback function: CB_ShowLog */
136 #define PANEL_DECORATION_2 99 /* control type: deco, callback function: (none) */ 136 #define PANEL_SLOPEX2 99 /* control type: radioButton, callback function: CB_SlopeX2 */
137 #define PANEL_DECORATION 100 /* control type: deco, callback function: (none) */ 137 #define PANEL_SAVE_DDS_FREQS 100 /* control type: radioButton, callback function: (none) */
138 #define PANEL_DECORATION_3 101 /* control type: deco, callback function: (none) */ 138 #define PANEL_DECORATION_2 101 /* control type: deco, callback function: (none) */
139 #define PANEL_TEXTMSG_6 102 /* control type: textMsg, callback function: (none) */ 139 #define PANEL_DECORATION 102 /* control type: deco, callback function: (none) */
140 #define PANEL_TEXTMSG_7 103 /* control type: textMsg, callback function: (none) */ 140 #define PANEL_DECORATION_3 103 /* control type: deco, callback function: (none) */
141 #define PANEL_DECORATION_4 104 /* control type: deco, callback function: (none) */ 141 #define PANEL_TEXTMSG_6 104 /* control type: textMsg, callback function: (none) */
142 #define PANEL_DECORATION_7 105 /* control type: deco, callback function: (none) */ 142 #define PANEL_TEXTMSG_7 105 /* control type: textMsg, callback function: (none) */
143 #define PANEL_DECORATION_6 106 /* control type: deco, callback function: (none) */ 143 #define PANEL_DECORATION_4 106 /* control type: deco, callback function: (none) */
144 #define PANEL_DECORATION_5 107 /* control type: deco, callback function: (none) */ 144 #define PANEL_DECORATION_7 107 /* control type: deco, callback function: (none) */
145 #define PANEL_TEXTMSG_20 108 /* control type: textMsg, callback function: (none) */ 145 #define PANEL_DECORATION_6 108 /* control type: deco, callback function: (none) */
146 #define PANEL_TEXTMSG_19 109 /* control type: textMsg, callback function: (none) */ 146 #define PANEL_DECORATION_5 109 /* control type: deco, callback function: (none) */
147 #define PANEL_TEXTMSG_20 110 /* control type: textMsg, callback function: (none) */
148 #define PANEL_TEXTMSG_19 111 /* control type: textMsg, callback function: (none) */
147 149
148 150
149 /* Control Arrays: */ 151 /* Control Arrays: */
150 152
151 /* (no control arrays in the resource file) */ 153 /* (no control arrays in the resource file) */
161 int CVICALLBACK CB_ChangeDDSOut(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 163 int CVICALLBACK CB_ChangeDDSOut(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
162 int CVICALLBACK CB_ChangeDDSStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 164 int CVICALLBACK CB_ChangeDDSStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
163 int CVICALLBACK CB_ChangeMath(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 165 int CVICALLBACK CB_ChangeMath(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
164 int CVICALLBACK CB_ChangeN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 166 int CVICALLBACK CB_ChangeN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
165 int CVICALLBACK CB_ChangeSlopeTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 167 int CVICALLBACK CB_ChangeSlopeTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
168 int CVICALLBACK CB_DedriftDDSFreq(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
166 int CVICALLBACK CB_InvertSlopeSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 169 int CVICALLBACK CB_InvertSlopeSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
167 int CVICALLBACK CB_MeasureSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 170 int CVICALLBACK CB_MeasureSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
168 int CVICALLBACK CB_OnAcceptN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 171 int CVICALLBACK CB_OnAcceptN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
169 int CVICALLBACK CB_OnAllanPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 172 int CVICALLBACK CB_OnAllanPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
170 int CVICALLBACK CB_OnChangeNdiv(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 173 int CVICALLBACK CB_OnChangeNdiv(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
191 int CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 194 int CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
192 int CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 195 int CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
193 int CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 196 int CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
194 int CVICALLBACK CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 197 int CVICALLBACK CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
195 int CVICALLBACK CB_Sign3(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 198 int CVICALLBACK CB_Sign3(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
199 int CVICALLBACK CB_SlopeX2(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
196 int CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 200 int CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
197 201
198 202
199 #ifdef __cplusplus 203 #ifdef __cplusplus
200 } 204 }