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 */
|
135
|
3 /* Copyright (c) National Instruments 2014. All Rights Reserved. */
|
0
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 PLOTPANEL 1 /* callback function: CB_PlotEvent */
|
135
|
18 #define PLOTPANEL_MAX 2 /* control type: numeric, callback function: Plot_CB_ChangeYLim */
|
|
19 #define PLOTPANEL_MIN 3 /* control type: numeric, callback function: Plot_CB_ChangeYLim */
|
|
20 #define PLOTPANEL_CHECKBOX_AUTOSCALE 4 /* control type: radioButton, callback function: Plot_CB_ChangeAutoScale */
|
|
21 #define PLOTPANEL_RESETBUTTON 5 /* control type: command, callback function: Plot_CB_Reset */
|
|
22 #define PLOTPANEL_FREQPLOT 6 /* control type: graph, callback function: (none) */
|
|
23 #define PLOTPANEL_ADEV 7 /* control type: numeric, callback function: (none) */
|
|
24 #define PLOTPANEL_SLOPE 8 /* control type: numeric, callback function: (none) */
|
|
25 #define PLOTPANEL_MEAN 9 /* control type: numeric, callback function: (none) */
|
|
26 #define PLOTPANEL_SCALINGSTEP 10 /* control type: ring, callback function: Plot_CB_ChangeScalingStep */
|
|
27 #define PLOTPANEL_DEDRIFT 11 /* control type: numeric, callback function: Plot_CB_ChangeDrift */
|
|
28 #define PLOTPANEL_GETSLOPEBUTTON 12 /* control type: command, callback function: Plot_CB_GetDrift */
|
|
29 #define PLOTPANEL_CHECKBOX_DEDRIFT 13 /* control type: radioButton, callback function: Plot_CB_Reset */
|
|
30
|
|
31
|
|
32 /* Control Arrays: */
|
|
33
|
|
34 /* (no control arrays in the resource file) */
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
35
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
36
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
37 /* Menu Bars, Menus, and Menu Items: */
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
38
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
39 /* (no menu bars in the resource file) */
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
40
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
41
|
135
|
42 /* Callback Prototypes: */
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
43
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
44 int CVICALLBACK CB_PlotEvent(int panel, int event, void *callbackData, int eventData1, int eventData2);
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
45 int CVICALLBACK Plot_CB_ChangeAutoScale(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
46 int CVICALLBACK Plot_CB_ChangeDrift(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
47 int CVICALLBACK Plot_CB_ChangeScalingStep(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
135
|
48 int CVICALLBACK Plot_CB_ChangeYLim(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
49 int CVICALLBACK Plot_CB_GetDrift(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
50 int CVICALLBACK Plot_CB_Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
51
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
52
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
53 #ifdef __cplusplus
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
54 }
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
55 #endif
|