Mercurial > hg > fxanalyse
annotate FXAnalyse.h @ 142:fd085d61e4ca
Rework data logging
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 22 Jan 2014 14:45:23 +0100 |
parents | e04123ab79ef |
children | be87c8e78266 |
rev | line source |
---|---|
0 | 1 /**************************************************************************/ |
2 /* LabWindows/CVI User Interface Resource (UIR) Include File */ | |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
3 /* Copyright (c) National Instruments 2014. All Rights Reserved. */ |
0 | 4 /* */ |
5 /* WARNING: Do not add to, delete from, or otherwise modify the contents */ | |
6 /* of this include file. */ | |
7 /**************************************************************************/ | |
8 | |
9 #include <userint.h> | |
10 | |
11 #ifdef __cplusplus | |
12 extern "C" { | |
13 #endif | |
14 | |
15 /* Panels and Controls: */ | |
16 | |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
17 #define CALCN 1 |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
18 #define CALCN_N 2 /* control type: numeric, callback function: (none) */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
19 #define CALCN_STOP 3 /* control type: command, callback function: CB_OnNStop */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
20 #define CALCN_SLOPETIME 4 /* control type: numeric, callback function: (none) */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
21 #define CALCN_INTEGRATIONTIME 5 /* control type: numeric, callback function: (none) */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
22 #define CALCN_DELTAFREQ 6 /* control type: numeric, callback function: (none) */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
23 #define CALCN_START 7 /* control type: command, callback function: CB_OnStartNCalculus */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
24 #define CALCN_ACCEPTN 8 /* control type: command, callback function: CB_OnAcceptN */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
25 #define CALCN_SLOPE 9 /* control type: numeric, callback function: (none) */ |
0 | 26 |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
27 #define ESTIMATEN3 2 |
17
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
28 #define ESTIMATEN3_N 2 /* control type: numeric, callback function: (none) */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
29 #define ESTIMATEN3_ESTIMATE 3 /* control type: command, callback function: CB_OnNEstimate */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
30 #define ESTIMATEN3_FREP 4 /* control type: numeric, callback function: (none) */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
31 #define ESTIMATEN3_SET 5 /* control type: command, callback function: CB_OnNEstimateSet */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
32 #define ESTIMATEN3_CANCEL 6 /* control type: command, callback function: CB_OnNEstimateCancel */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
33 #define ESTIMATEN3_WAVELENGTH 7 /* control type: numeric, callback function: (none) */ |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
34 |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
35 #define LOGGING 3 /* callback function: CB_OnLoggingPanelEvent */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
36 #define LOGGING_LOGGING 2 /* control type: textBox, callback function: (none) */ |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
37 |
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
38 #define PANEL 4 /* callback function: CB_OnEventMain */ |
2
bd7501b65f56
Implement reference selection (microwave or Hg cavity) for slope cancelling
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
39 #define PANEL_QUITBUTTON 2 /* control type: command, callback function: QuitCallback */ |
bd7501b65f56
Implement reference selection (microwave or Hg cavity) for slope cancelling
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
40 #define PANEL_STARTBUTTON 3 /* control type: command, callback function: CB_OnStart */ |
bd7501b65f56
Implement reference selection (microwave or Hg cavity) for slope cancelling
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
41 #define PANEL_STOPBUTTON 4 /* control type: command, callback function: CB_OnStop */ |
124
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
42 #define PANEL_CH4 5 /* control type: numeric, callback function: (none) */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
43 #define PANEL_CH3 6 /* control type: numeric, callback function: (none) */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
44 #define PANEL_CH2 7 /* control type: numeric, callback function: (none) */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
45 #define PANEL_CH1 8 /* control type: numeric, callback function: (none) */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
46 #define PANEL_ADEV_Math1 9 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
47 #define PANEL_ADEV_Ch4 10 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
48 #define PANEL_ADEV_Ch3 11 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
49 #define PANEL_PLOT_Ch4 12 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
50 #define PANEL_ADEV_Ch2 13 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
51 #define PANEL_PLOT_Ch3 14 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
52 #define PANEL_CHECKBOX_CORRFREQU 15 /* control type: radioButton, callback function: CB_OnCROX */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
53 #define PANEL_ADEV_Ch1 16 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
54 #define PANEL_PLOT_Ch2 17 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
55 #define PANEL_PLOT_Math1 18 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
56 #define PANEL_PLOT_Ch1 19 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
88
9b7588cd4013
Move data acquisition into separate thread
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
84
diff
changeset
|
57 #define PANEL_DDS2 20 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
9b7588cd4013
Move data acquisition into separate thread
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
84
diff
changeset
|
58 #define PANEL_TEXTMSG 21 /* control type: textMsg, callback function: (none) */ |
9b7588cd4013
Move data acquisition into separate thread
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
84
diff
changeset
|
59 #define PANEL_TEXTMSG_2 22 /* control type: textMsg, callback function: (none) */ |
139 | 60 #define PANEL_RECENTER_INTERVAL 23 /* control type: numeric, callback function: CB_RecenterInterval */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
61 #define PANEL_SLOPETIME 24 /* control type: numeric, callback function: CB_ChangeSlopeTime */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
62 #define PANEL_DEDRIFT_DDS_FREQ 25 /* control type: numeric, callback function: CB_DedriftDDSFreq */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
63 #define PANEL_DDS1 26 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
64 #define PANEL_CHANGENDIV 27 /* control type: numeric, callback function: CB_OnChangeNdiv */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
65 #define PANEL_N3CHOICE 28 /* control type: numeric, callback function: CB_ChangeN */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
66 #define PANEL_N3CALCULUS 29 /* control type: command, callback function: CB_OnNCalculus */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
67 #define PANEL_N1CHOICE 30 /* control type: numeric, callback function: CB_ChangeN */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
68 #define PANEL_N2CHOICE 31 /* control type: numeric, callback function: CB_ChangeN */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
69 #define PANEL_N2CALCULUS 32 /* control type: command, callback function: CB_OnNCalculus */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
70 #define PANEL_DDS4STEP 33 /* control type: ring, callback function: CB_ChangeDDSStep */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
71 #define PANEL_DDS3STEP 34 /* control type: ring, callback function: CB_ChangeDDSStep */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
72 #define PANEL_DDS2STEP 35 /* control type: ring, callback function: CB_ChangeDDSStep */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
73 #define PANEL_CENTERFREQUENCY 36 /* control type: numeric, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
74 #define PANEL_SLOPE_APPLIED 37 /* control type: numeric, callback function: CB_SetSlope */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
75 #define PANEL_PLOT_Math5 38 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
76 #define PANEL_PLOT_Math4 39 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
77 #define PANEL_ADEV_Math4 40 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
78 #define PANEL_DDS1STEP 41 /* control type: ring, callback function: CB_ChangeDDSStep */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
79 #define PANEL_TEXTMSG_15 42 /* control type: textMsg, callback function: (none) */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
80 #define PANEL_ADEV_Math5 43 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
81 #define PANEL_PLOT_Math3 44 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
142
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
82 #define PANEL_SAVE_EXTRA 45 /* control type: radioButton, callback function: (none) */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
83 #define PANEL_SR_LOGGER 46 /* control type: radioButton, callback function: (none) */ |
142
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
84 #define PANEL_SAVE_SR 47 /* control type: radioButton, callback function: (none) */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
85 #define PANEL_ADEV_Math3 48 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
86 #define PANEL_MATHSTRING4 49 /* control type: string, callback function: CB_ChangeMath */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
87 #define PANEL_PLOT_Math2 50 /* control type: radioButton, callback function: CB_OnFreqPlot */ |
142
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
88 #define PANEL_SAVE_HG 51 /* control type: radioButton, callback function: (none) */ |
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
89 #define PANEL_SAVE_LO 52 /* control type: radioButton, callback function: (none) */ |
134
bd28161e5ac2
Major code cleanup
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
133
diff
changeset
|
90 #define PANEL_ADEV_Math2 53 /* control type: radioButton, callback function: CB_OnAllanPlot */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
91 #define PANEL_MATHSTRING3 54 /* control type: string, callback function: CB_ChangeMath */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
92 #define PANEL_MATHSTRING1 55 /* control type: string, callback function: CB_ChangeMath */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
93 #define PANEL_MATHSTRING2 56 /* control type: string, callback function: CB_ChangeMath */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
94 #define PANEL_TEXTMSG_16 57 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
95 #define PANEL_MINUS10KDDS1 58 /* control type: command, callback function: CB_OnMinus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
96 #define PANEL_MINUS10KDDS4 59 /* control type: command, callback function: CB_OnMinus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
97 #define PANEL_MINUS10KDDS3 60 /* control type: command, callback function: CB_OnMinus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
98 #define PANEL_MINUS10KDDS2 61 /* control type: command, callback function: CB_OnMinus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
99 #define PANEL_PLUS10KDDS4 62 /* control type: command, callback function: CB_OnPlus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
100 #define PANEL_PLUS10KDDS3 63 /* control type: command, callback function: CB_OnPlus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
101 #define PANEL_PLUS10KDDS1 64 /* control type: command, callback function: CB_OnPlus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
102 #define PANEL_PLUS10KDDS2 65 /* control type: command, callback function: CB_OnPlus10k */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
103 #define PANEL_MATHSTRING5 66 /* control type: textBox, callback function: CB_ChangeMath */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
104 #define PANEL_UTC 67 /* control type: numeric, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
105 #define PANEL_TIME 68 /* control type: string, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
106 #define PANEL_DDS4 69 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
107 #define PANEL_DDS3 70 /* control type: numeric, callback function: CB_ChangeDDSOut */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
108 #define PANEL_N1CALCULUS 71 /* control type: command, callback function: CB_OnNCalculus */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
109 #define PANEL_FINDSIGN3 72 /* control type: command, callback function: CB_OnFindSign */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
110 #define PANEL_SIGN3 73 /* control type: numeric, callback function: CB_Sign3 */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
111 #define PANEL_FINDSIGN2 74 /* control type: command, callback function: CB_OnFindSign */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
112 #define PANEL_SIGN2 75 /* control type: numeric, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
113 #define PANEL_FINDSIGN1 76 /* control type: command, callback function: CB_OnFindSign */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
114 #define PANEL_SIGN1 77 /* control type: numeric, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
115 #define PANEL_FIND10K3 78 /* control type: command, callback function: CB_OnFind275K */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
116 #define PANEL_FIND275K2 79 /* control type: command, callback function: CB_OnFind275K */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
117 #define PANEL_RESETSLOPE 80 /* control type: command, callback function: CB_OnResetSlope */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
118 #define PANEL_CHECKBOX_STOPIFAUTODE 81 /* control type: radioButton, callback function: CB_OnStopSlopeCancellingOnUnlocked */ |
124
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
119 #define PANEL_CHECKBOX_KEEPSLOPE 82 /* control type: radioButton, callback function: CB_OnCROX */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
120 #define PANEL_CHECKBOX_KEEP 83 /* control type: radioButton, callback function: CB_OnCROX */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
121 #define PANEL_SLOPE_REFERENCE 84 /* control type: ring, callback function: CB_OnSlopeReference */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
122 #define PANEL_ESTIMATE_N3 85 /* control type: command, callback function: CB_OnEstimateN */ |
bdfc61a8ebee
Add thousands separator to important numeric displays
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
123
diff
changeset
|
123 #define PANEL_INVERT_SLOPE_SIGN 86 /* control type: radioButton, callback function: CB_InvertSlopeSign */ |
139 | 124 #define PANEL_RECENTER 87 /* control type: LED, callback function: CB_RecenterEnable */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
125 #define PANEL_MEASURE_SLOPE 88 /* control type: LED, callback function: CB_MeasureSlope */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
126 #define PANEL_SLOPE_MEASURED 89 /* control type: numeric, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
127 #define PANEL_RESET_DEDRIFT_DDS 90 /* control type: command, callback function: CB_ResetDedriftDDS */ |
142
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
128 #define PANEL_SAVE_RAW 91 /* control type: radioButton, callback function: (none) */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
129 #define PANEL_SHOWLOG 92 /* control type: radioButton, callback function: CB_ShowLog */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
130 #define PANEL_SLOPEX2 93 /* control type: radioButton, callback function: CB_SlopeX2 */ |
142
fd085d61e4ca
Rework data logging
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
139
diff
changeset
|
131 #define PANEL_SAVE_DDS 94 /* control type: radioButton, callback function: (none) */ |
133
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
132 #define PANEL_DECORATION_2 95 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
133 #define PANEL_DECORATION_8 96 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
134 #define PANEL_DECORATION 97 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
135 #define PANEL_DECORATION_3 98 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
136 #define PANEL_TEXTMSG_6 99 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
137 #define PANEL_TEXTMSG_22 100 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
138 #define PANEL_TEXTMSG_21 101 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
139 #define PANEL_TEXTMSG_7 102 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
140 #define PANEL_DECORATION_4 103 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
141 #define PANEL_DECORATION_7 104 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
142 #define PANEL_DECORATION_6 105 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
143 #define PANEL_DECORATION_5 106 /* control type: deco, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
144 #define PANEL_TEXTMSG_20 107 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
145 #define PANEL_TEXTMSG_19 108 /* control type: textMsg, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
146 #define PANEL_MATH4 109 /* control type: string, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
147 #define PANEL_MATH5 110 /* control type: string, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
148 #define PANEL_MATH3 111 /* control type: string, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
149 #define PANEL_MATH2 112 /* control type: string, callback function: (none) */ |
7540703b8473
Major code cleanup. Implement beatnote recentering.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
127
diff
changeset
|
150 #define PANEL_MATH1 113 /* control type: string, callback function: (none) */ |
139 | 151 #define PANEL_RECENTER_SR 114 /* control type: radioButton, callback function: CB_RecenterChannel */ |
152 #define PANEL_RECENTER_HG 115 /* control type: radioButton, callback function: CB_RecenterChannel */ | |
153 #define PANEL_RECENTER_LO 116 /* control type: radioButton, callback function: CB_RecenterChannel */ | |
119
f9fb17fb64cc
Add Sr frequency logging to disk and to Sr data logger
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
113
diff
changeset
|
154 |
f9fb17fb64cc
Add Sr frequency logging to disk and to Sr data logger
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
113
diff
changeset
|
155 |
f9fb17fb64cc
Add Sr frequency logging to disk and to Sr data logger
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
113
diff
changeset
|
156 /* Control Arrays: */ |
f9fb17fb64cc
Add Sr frequency logging to disk and to Sr data logger
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
113
diff
changeset
|
157 |
f9fb17fb64cc
Add Sr frequency logging to disk and to Sr data logger
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
113
diff
changeset
|
158 /* (no control arrays in the resource file) */ |
0 | 159 |
160 | |
161 /* Menu Bars, Menus, and Menu Items: */ | |
162 | |
163 /* (no menu bars in the resource file) */ | |
164 | |
165 | |
2
bd7501b65f56
Implement reference selection (microwave or Hg cavity) for slope cancelling
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
0
diff
changeset
|
166 /* Callback Prototypes: */ |
0 | 167 |
168 int CVICALLBACK CB_ChangeDDSOut(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
169 int CVICALLBACK CB_ChangeDDSStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
170 int CVICALLBACK CB_ChangeMath(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
171 int CVICALLBACK CB_ChangeN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
172 int CVICALLBACK CB_ChangeSlopeTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
123
35861fe64d14
Allow to set dedrift DDS central frequency. Add option to double applied slope.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
122
diff
changeset
|
173 int CVICALLBACK CB_DedriftDDSFreq(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
39
2e1b3148d6e6
Add setting to invert the sign of the measured slope on dedrifting
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
36
diff
changeset
|
174 int CVICALLBACK CB_InvertSlopeSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
48
70980f27e1a4
Simplify dedrifting interface
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
39
diff
changeset
|
175 int CVICALLBACK CB_MeasureSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
17
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
176 int CVICALLBACK CB_OnAcceptN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
0 | 177 int CVICALLBACK CB_OnAllanPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
178 int CVICALLBACK CB_OnChangeNdiv(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
179 int CVICALLBACK CB_OnCROX(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
17
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
180 int CVICALLBACK CB_OnEstimateN(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
0 | 181 int CVICALLBACK CB_OnEventMain(int panel, int event, void *callbackData, int eventData1, int eventData2); |
182 int CVICALLBACK CB_OnFind275K(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
183 int CVICALLBACK CB_OnFindSign(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
184 int CVICALLBACK CB_OnFreqPlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
185 int CVICALLBACK CB_OnLoggingPanelEvent(int panel, int event, void *callbackData, int eventData1, int eventData2); |
0 | 186 int CVICALLBACK CB_OnMinus10k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
187 int CVICALLBACK CB_OnNCalculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
17
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
188 int CVICALLBACK CB_OnNEstimate(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
189 int CVICALLBACK CB_OnNEstimateCancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
190 int CVICALLBACK CB_OnNEstimateSet(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
0 | 191 int CVICALLBACK CB_OnNStop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
192 int CVICALLBACK CB_OnPlus10k(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
193 int CVICALLBACK CB_OnResetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
17
9cadd12e7722
Implement N3 measurement. Large code cleanup.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
2
diff
changeset
|
194 int CVICALLBACK CB_OnSlopeReference(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
0 | 195 int CVICALLBACK CB_OnStart(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
196 int CVICALLBACK CB_OnStartNCalculus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
197 int CVICALLBACK CB_OnStop(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
56
6e73fb3d94fa
Simplyfy slope measurement code
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
48
diff
changeset
|
198 int CVICALLBACK CB_OnStopSlopeCancellingOnUnlocked(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
139 | 199 int CVICALLBACK CB_RecenterChannel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
200 int CVICALLBACK CB_RecenterEnable(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
201 int CVICALLBACK CB_RecenterInterval(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); | |
80
46fe62febcd0
Add dedrifting DDS reset functionality
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
76
diff
changeset
|
202 int CVICALLBACK CB_ResetDedriftDDS(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
28
1e4ecf64b485
Remove references to unused DDSBes
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
27
diff
changeset
|
203 int CVICALLBACK CB_SetSlope(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
84
c03263186dd7
Rework and cleanup N measurement panels handling. Move logs to dedicated panel.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
82
diff
changeset
|
204 int CVICALLBACK CB_ShowLog(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
109
2a9f8a811d87
Fix N3 measurement
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
97
diff
changeset
|
205 int CVICALLBACK CB_Sign3(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
123
35861fe64d14
Allow to set dedrift DDS central frequency. Add option to double applied slope.
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
122
diff
changeset
|
206 int CVICALLBACK CB_SlopeX2(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
0 | 207 int CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
208 | |
209 | |
210 #ifdef __cplusplus | |
211 } | |
212 #endif |