Mercurial > hg > fxanalyse
comparison FXAnalyse.h @ 256:708de02ef948
Implement limit to frequency adjustment during recenter
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 05 Jun 2015 21:00:54 +0200 |
parents | b3581a75a0b7 |
children |
comparison
equal
deleted
inserted
replaced
255:ada536bc461b | 256:708de02ef948 |
---|---|
57 #define PANEL_PLOT_Math1 17 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 57 #define PANEL_PLOT_Math1 17 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
58 #define PANEL_PLOT_Ch1 18 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 58 #define PANEL_PLOT_Ch1 18 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
59 #define PANEL_DDS2 19 /* control type: numeric, callback function: CB_ChangeDDSOut */ | 59 #define PANEL_DDS2 19 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
60 #define PANEL_TEXTMSG 20 /* control type: textMsg, callback function: (none) */ | 60 #define PANEL_TEXTMSG 20 /* control type: textMsg, callback function: (none) */ |
61 #define PANEL_TEXTMSG_2 21 /* control type: textMsg, callback function: (none) */ | 61 #define PANEL_TEXTMSG_2 21 /* control type: textMsg, callback function: (none) */ |
62 #define PANEL_RECENTER_INTERVAL 22 /* control type: numeric, callback function: CB_RecenterInterval */ | 62 #define PANEL_RECENTER_THRESHOLD_SR 22 /* control type: numeric, callback function: CB_RecenterThreshold */ |
63 #define PANEL_SLOPETIME 23 /* control type: numeric, callback function: CB_ChangeSlopeTime */ | 63 #define PANEL_RECENTER_THRESHOLD_HG 23 /* control type: numeric, callback function: CB_RecenterThreshold */ |
64 #define PANEL_DEDRIFT_DDS_FREQ 24 /* control type: numeric, callback function: CB_DedriftDDSFreq */ | 64 #define PANEL_RECENTER_THRESHOLD_LO 24 /* control type: numeric, callback function: CB_RecenterThreshold */ |
65 #define PANEL_DDS1 25 /* control type: numeric, callback function: CB_ChangeDDSOut */ | 65 #define PANEL_RECENTER_INTERVAL 25 /* control type: numeric, callback function: CB_RecenterInterval */ |
66 #define PANEL_CHANGENDIV 26 /* control type: numeric, callback function: CB_OnChangeNdiv */ | 66 #define PANEL_SLOPETIME 26 /* control type: numeric, callback function: CB_ChangeSlopeTime */ |
67 #define PANEL_N3 27 /* control type: numeric, callback function: CB_ChangeN */ | 67 #define PANEL_DEDRIFT_DDS_FREQ 27 /* control type: numeric, callback function: CB_DedriftDDSFreq */ |
68 #define PANEL_N3CALCULUS 28 /* control type: command, callback function: CB_OnNCalculus */ | 68 #define PANEL_DDS1 28 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
69 #define PANEL_N1 29 /* control type: numeric, callback function: CB_ChangeN */ | 69 #define PANEL_CHANGENDIV 29 /* control type: numeric, callback function: CB_OnChangeNdiv */ |
70 #define PANEL_N2 30 /* control type: numeric, callback function: CB_ChangeN */ | 70 #define PANEL_N3 30 /* control type: numeric, callback function: CB_ChangeN */ |
71 #define PANEL_N2CALCULUS 31 /* control type: command, callback function: CB_OnNCalculus */ | 71 #define PANEL_N3CALCULUS 31 /* control type: command, callback function: CB_OnNCalculus */ |
72 #define PANEL_DDS4STEP 32 /* control type: ring, callback function: CB_ChangeDDSStep */ | 72 #define PANEL_N1 32 /* control type: numeric, callback function: CB_ChangeN */ |
73 #define PANEL_DDS3STEP 33 /* control type: ring, callback function: CB_ChangeDDSStep */ | 73 #define PANEL_N2 33 /* control type: numeric, callback function: CB_ChangeN */ |
74 #define PANEL_DDS2STEP 34 /* control type: ring, callback function: CB_ChangeDDSStep */ | 74 #define PANEL_N2CALCULUS 34 /* control type: command, callback function: CB_OnNCalculus */ |
75 #define PANEL_SLOPE_APPLIED 35 /* control type: numeric, callback function: CB_SetSlope */ | 75 #define PANEL_DDS4STEP 35 /* control type: ring, callback function: CB_ChangeDDSStep */ |
76 #define PANEL_PLOT_Math5 36 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 76 #define PANEL_DDS3STEP 36 /* control type: ring, callback function: CB_ChangeDDSStep */ |
77 #define PANEL_PLOT_Math4 37 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 77 #define PANEL_DDS2STEP 37 /* control type: ring, callback function: CB_ChangeDDSStep */ |
78 #define PANEL_ADEV_Math4 38 /* control type: radioButton, callback function: CB_OnAllanPlot */ | 78 #define PANEL_SLOPE_APPLIED 38 /* control type: numeric, callback function: CB_SetSlope */ |
79 #define PANEL_DDS1STEP 39 /* control type: ring, callback function: CB_ChangeDDSStep */ | 79 #define PANEL_PLOT_Math5 39 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
80 #define PANEL_TEXTMSG_15 40 /* control type: textMsg, callback function: (none) */ | 80 #define PANEL_PLOT_Math4 40 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
81 #define PANEL_ADEV_Math5 41 /* control type: radioButton, callback function: CB_OnAllanPlot */ | 81 #define PANEL_ADEV_Math4 41 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
82 #define PANEL_PLOT_Math3 42 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 82 #define PANEL_DDS1STEP 42 /* control type: ring, callback function: CB_ChangeDDSStep */ |
83 #define PANEL_SAVE_EXTRA 43 /* control type: radioButton, callback function: CB_SaveData */ | 83 #define PANEL_TEXTMSG_15 43 /* control type: textMsg, callback function: (none) */ |
84 #define PANEL_SR_LOGGER 44 /* control type: radioButton, callback function: CB_SrDatalogger */ | 84 #define PANEL_ADEV_Math5 44 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
85 #define PANEL_SAVE_SR 45 /* control type: radioButton, callback function: CB_SaveData */ | 85 #define PANEL_PLOT_Math3 45 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
86 #define PANEL_ADEV_Math3 46 /* control type: radioButton, callback function: CB_OnAllanPlot */ | 86 #define PANEL_SAVE_EXTRA 46 /* control type: radioButton, callback function: CB_SaveData */ |
87 #define PANEL_MATHSTRING4 47 /* control type: string, callback function: CB_ChangeMath */ | 87 #define PANEL_SR_LOGGER 47 /* control type: radioButton, callback function: CB_SrDatalogger */ |
88 #define PANEL_PLOT_Math2 48 /* control type: radioButton, callback function: CB_OnFreqPlot */ | 88 #define PANEL_SAVE_SR 48 /* control type: radioButton, callback function: CB_SaveData */ |
89 #define PANEL_SAVE_HG 49 /* control type: radioButton, callback function: CB_SaveData */ | 89 #define PANEL_ADEV_Math3 49 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
90 #define PANEL_SAVE_LO 50 /* control type: radioButton, callback function: CB_SaveData */ | 90 #define PANEL_MATHSTRING4 50 /* control type: string, callback function: CB_ChangeMath */ |
91 #define PANEL_ADEV_Math2 51 /* control type: radioButton, callback function: CB_OnAllanPlot */ | 91 #define PANEL_PLOT_Math2 51 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
92 #define PANEL_MATHSTRING3 52 /* control type: string, callback function: CB_ChangeMath */ | 92 #define PANEL_SAVE_HG 52 /* control type: radioButton, callback function: CB_SaveData */ |
93 #define PANEL_MATHSTRING1 53 /* control type: string, callback function: CB_ChangeMath */ | 93 #define PANEL_SAVE_LO 53 /* control type: radioButton, callback function: CB_SaveData */ |
94 #define PANEL_MATHSTRING2 54 /* control type: string, callback function: CB_ChangeMath */ | 94 #define PANEL_ADEV_Math2 54 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
95 #define PANEL_TEXTMSG_16 55 /* control type: textMsg, callback function: (none) */ | 95 #define PANEL_MATHSTRING3 55 /* control type: string, callback function: CB_ChangeMath */ |
96 #define PANEL_MATHSTRING5 56 /* control type: textBox, callback function: CB_ChangeMath */ | 96 #define PANEL_MATHSTRING1 56 /* control type: string, callback function: CB_ChangeMath */ |
97 #define PANEL_UTC 57 /* control type: numeric, callback function: (none) */ | 97 #define PANEL_MATHSTRING2 57 /* control type: string, callback function: CB_ChangeMath */ |
98 #define PANEL_TIME 58 /* control type: string, callback function: (none) */ | 98 #define PANEL_TEXTMSG_16 58 /* control type: textMsg, callback function: (none) */ |
99 #define PANEL_DDS4 59 /* control type: numeric, callback function: CB_ChangeDDSOut */ | 99 #define PANEL_MATHSTRING5 59 /* control type: textBox, callback function: CB_ChangeMath */ |
100 #define PANEL_DDS3 60 /* control type: numeric, callback function: CB_ChangeDDSOut */ | 100 #define PANEL_UTC 60 /* control type: numeric, callback function: (none) */ |
101 #define PANEL_N1CALCULUS 61 /* control type: command, callback function: CB_OnNCalculus */ | 101 #define PANEL_TIME 61 /* control type: string, callback function: (none) */ |
102 #define PANEL_FINDSIGN3 62 /* control type: command, callback function: CB_OnFindSign */ | 102 #define PANEL_DDS4 62 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
103 #define PANEL_SIGN3 63 /* control type: numeric, callback function: CB_BeatnoteSign */ | 103 #define PANEL_DDS3 63 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
104 #define PANEL_FINDSIGN2 64 /* control type: command, callback function: CB_OnFindSign */ | 104 #define PANEL_N1CALCULUS 64 /* control type: command, callback function: CB_OnNCalculus */ |
105 #define PANEL_SIGN2 65 /* control type: numeric, callback function: CB_BeatnoteSign */ | 105 #define PANEL_FINDSIGN3 65 /* control type: command, callback function: CB_OnFindSign */ |
106 #define PANEL_FINDSIGN1 66 /* control type: command, callback function: CB_OnFindSign */ | 106 #define PANEL_SIGN3 66 /* control type: numeric, callback function: CB_BeatnoteSign */ |
107 #define PANEL_SIGN1 67 /* control type: numeric, callback function: CB_BeatnoteSign */ | 107 #define PANEL_FINDSIGN2 67 /* control type: command, callback function: CB_OnFindSign */ |
108 #define PANEL_ADJUST_DDS4 68 /* control type: command, callback function: CB_AdjustDDSFreq */ | 108 #define PANEL_SIGN2 68 /* control type: numeric, callback function: CB_BeatnoteSign */ |
109 #define PANEL_ADJUST_DDS3 69 /* control type: command, callback function: CB_AdjustDDSFreq */ | 109 #define PANEL_FINDSIGN1 69 /* control type: command, callback function: CB_OnFindSign */ |
110 #define PANEL_ADJUST_DDS2 70 /* control type: command, callback function: CB_AdjustDDSFreq */ | 110 #define PANEL_SIGN1 70 /* control type: numeric, callback function: CB_BeatnoteSign */ |
111 #define PANEL_RESETSLOPE 71 /* control type: command, callback function: CB_OnResetSlope */ | 111 #define PANEL_ADJUST_DDS4 71 /* control type: command, callback function: CB_AdjustDDSFreq */ |
112 #define PANEL_DEDRIFT_STOP_ON_UNLOC 72 /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */ | 112 #define PANEL_ADJUST_DDS3 72 /* control type: command, callback function: CB_AdjustDDSFreq */ |
113 #define PANEL_DEDRIFT_KEEP_SLOPE 73 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ | 113 #define PANEL_ADJUST_DDS2 73 /* control type: command, callback function: CB_AdjustDDSFreq */ |
114 #define PANEL_DEDRIFT_KEEP_FREQ 74 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ | 114 #define PANEL_RESETSLOPE 74 /* control type: command, callback function: CB_OnResetSlope */ |
115 #define PANEL_SLOPE_REFERENCE 75 /* control type: ring, callback function: CB_OnSlopeReference */ | 115 #define PANEL_DEDRIFT_STOP_ON_UNLOC 75 /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */ |
116 #define PANEL_ESTIMATE_N2 76 /* control type: command, callback function: cb_onEstimateN */ | 116 #define PANEL_DEDRIFT_KEEP_SLOPE 76 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ |
117 #define PANEL_ESTIMATE_N3 77 /* control type: command, callback function: cb_onEstimateN */ | 117 #define PANEL_DEDRIFT_KEEP_FREQ 77 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ |
118 #define PANEL_DEDRIFT_PROPORTIONAL 78 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ | 118 #define PANEL_SLOPE_REFERENCE 78 /* control type: ring, callback function: CB_OnSlopeReference */ |
119 #define PANEL_DEDRIFT_INVERT_SIGN 79 /* control type: radioButton, callback function: CB_InvertSlopeSign */ | 119 #define PANEL_ESTIMATE_N2 79 /* control type: command, callback function: cb_onEstimateN */ |
120 #define PANEL_RECENTER 80 /* control type: LED, callback function: CB_RecenterEnable */ | 120 #define PANEL_ESTIMATE_N3 80 /* control type: command, callback function: cb_onEstimateN */ |
121 #define PANEL_MEASURE_SLOPE 81 /* control type: LED, callback function: CB_MeasureSlope */ | 121 #define PANEL_DEDRIFT_PROPORTIONAL 81 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ |
122 #define PANEL_SLOPE_MEASURED 82 /* control type: numeric, callback function: (none) */ | 122 #define PANEL_DEDRIFT_INVERT_SIGN 82 /* control type: radioButton, callback function: CB_InvertSlopeSign */ |
123 #define PANEL_RESET_DEDRIFT_DDS 83 /* control type: command, callback function: CB_ResetDedriftDDS */ | 123 #define PANEL_RECENTER 83 /* control type: LED, callback function: CB_RecenterEnable */ |
124 #define PANEL_SAVE_RAW 84 /* control type: radioButton, callback function: CB_SaveData */ | 124 #define PANEL_MEASURE_SLOPE 84 /* control type: LED, callback function: CB_MeasureSlope */ |
125 #define PANEL_SHOWLOG 85 /* control type: radioButton, callback function: CB_ShowLog */ | 125 #define PANEL_SLOPE_MEASURED 85 /* control type: numeric, callback function: (none) */ |
126 #define PANEL_DEDRIFT_DOUBLE_CORR 86 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ | 126 #define PANEL_RESET_DEDRIFT_DDS 86 /* control type: command, callback function: CB_ResetDedriftDDS */ |
127 #define PANEL_SAVE_DDS 87 /* control type: radioButton, callback function: CB_SaveData */ | 127 #define PANEL_SAVE_RAW 87 /* control type: radioButton, callback function: CB_SaveData */ |
128 #define PANEL_DECORATION_2 88 /* control type: deco, callback function: (none) */ | 128 #define PANEL_SHOWLOG 88 /* control type: radioButton, callback function: CB_ShowLog */ |
129 #define PANEL_DECORATION_8 89 /* control type: deco, callback function: (none) */ | 129 #define PANEL_DEDRIFT_DOUBLE_CORR 89 /* control type: radioButton, callback function: CB_OnDedriftSettingsChange */ |
130 #define PANEL_DECORATION 90 /* control type: deco, callback function: (none) */ | 130 #define PANEL_SAVE_DDS 90 /* control type: radioButton, callback function: CB_SaveData */ |
131 #define PANEL_DECORATION_3 91 /* control type: deco, callback function: (none) */ | 131 #define PANEL_DECORATION_2 91 /* control type: deco, callback function: (none) */ |
132 #define PANEL_TEXTMSG_6 92 /* control type: textMsg, callback function: (none) */ | 132 #define PANEL_DECORATION_8 92 /* control type: deco, callback function: (none) */ |
133 #define PANEL_TEXTMSG_22 93 /* control type: textMsg, callback function: (none) */ | 133 #define PANEL_DECORATION 93 /* control type: deco, callback function: (none) */ |
134 #define PANEL_TEXTMSG_21 94 /* control type: textMsg, callback function: (none) */ | 134 #define PANEL_DECORATION_3 94 /* control type: deco, callback function: (none) */ |
135 #define PANEL_TEXTMSG_7 95 /* control type: textMsg, callback function: (none) */ | 135 #define PANEL_TEXTMSG_6 95 /* control type: textMsg, callback function: (none) */ |
136 #define PANEL_DECORATION_4 96 /* control type: deco, callback function: (none) */ | 136 #define PANEL_TEXTMSG_22 96 /* control type: textMsg, callback function: (none) */ |
137 #define PANEL_DECORATION_7 97 /* control type: deco, callback function: (none) */ | 137 #define PANEL_TEXTMSG_21 97 /* control type: textMsg, callback function: (none) */ |
138 #define PANEL_DECORATION_6 98 /* control type: deco, callback function: (none) */ | 138 #define PANEL_TEXTMSG_7 98 /* control type: textMsg, callback function: (none) */ |
139 #define PANEL_DECORATION_5 99 /* control type: deco, callback function: (none) */ | 139 #define PANEL_DECORATION_4 99 /* control type: deco, callback function: (none) */ |
140 #define PANEL_TEXTMSG_20 100 /* control type: textMsg, callback function: (none) */ | 140 #define PANEL_DECORATION_7 100 /* control type: deco, callback function: (none) */ |
141 #define PANEL_TEXTMSG_19 101 /* control type: textMsg, callback function: (none) */ | 141 #define PANEL_DECORATION_6 101 /* control type: deco, callback function: (none) */ |
142 #define PANEL_MATH4 102 /* control type: string, callback function: (none) */ | 142 #define PANEL_DECORATION_5 102 /* control type: deco, callback function: (none) */ |
143 #define PANEL_MATH5 103 /* control type: string, callback function: (none) */ | 143 #define PANEL_TEXTMSG_20 103 /* control type: textMsg, callback function: (none) */ |
144 #define PANEL_MATH3 104 /* control type: string, callback function: (none) */ | 144 #define PANEL_TEXTMSG_19 104 /* control type: textMsg, callback function: (none) */ |
145 #define PANEL_MATH2 105 /* control type: string, callback function: (none) */ | 145 #define PANEL_MATH4 105 /* control type: string, callback function: (none) */ |
146 #define PANEL_MATH1 106 /* control type: string, callback function: (none) */ | 146 #define PANEL_MATH5 106 /* control type: string, callback function: (none) */ |
147 #define PANEL_RECENTER_SR 107 /* control type: radioButton, callback function: CB_RecenterChannel */ | 147 #define PANEL_MATH3 107 /* control type: string, callback function: (none) */ |
148 #define PANEL_RECENTER_HG 108 /* control type: radioButton, callback function: CB_RecenterChannel */ | 148 #define PANEL_MATH2 108 /* control type: string, callback function: (none) */ |
149 #define PANEL_RECENTER_LO 109 /* control type: radioButton, callback function: CB_RecenterChannel */ | 149 #define PANEL_MATH1 109 /* control type: string, callback function: (none) */ |
150 #define PANEL_ERROR 110 /* control type: LED, callback function: CB_ShowError */ | 150 #define PANEL_RECENTER_SR 110 /* control type: radioButton, callback function: CB_RecenterChannel */ |
151 #define PANEL_RECENTER_HG 111 /* control type: radioButton, callback function: CB_RecenterChannel */ | |
152 #define PANEL_RECENTER_LO 112 /* control type: radioButton, callback function: CB_RecenterChannel */ | |
153 #define PANEL_ERROR 113 /* control type: LED, callback function: CB_ShowError */ | |
151 | 154 |
152 | 155 |
153 /* Control Arrays: */ | 156 /* Control Arrays: */ |
154 | 157 |
155 /* (no control arrays in the resource file) */ | 158 /* (no control arrays in the resource file) */ |
195 int CVICALLBACK CB_OnStop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 198 int CVICALLBACK CB_OnStop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
196 int CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 199 int CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
197 int CVICALLBACK CB_RecenterChannel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 200 int CVICALLBACK CB_RecenterChannel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
198 int CVICALLBACK CB_RecenterEnable(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 201 int CVICALLBACK CB_RecenterEnable(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
199 int CVICALLBACK CB_RecenterInterval(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 202 int CVICALLBACK CB_RecenterInterval(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
203 int CVICALLBACK CB_RecenterThreshold(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
200 int CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 204 int CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
201 int CVICALLBACK CB_SaveData(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 205 int CVICALLBACK CB_SaveData(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
202 int CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 206 int CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
203 int CVICALLBACK CB_ShowError(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 207 int CVICALLBACK CB_ShowError(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
204 int CVICALLBACK CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | 208 int CVICALLBACK CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |