Subversion Repositories f9daq

Rev

Rev 265 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 265 Rev 317
Line 12... Line 12...
12
#endif
12
#endif
13
 
13
 
14
     /* Panels and Controls: */
14
     /* Panels and Controls: */
15
 
15
 
16
#define  PANEL                            1
16
#define  PANEL                            1
-
 
17
#define  PANEL_OPENGUI_2                  2       /* control type: command, callback function: OpenQdcCB */
17
#define  PANEL_OPENGUI                    2       /* control type: command, callback function: OpenGuiCB */
18
#define  PANEL_OPENGUI                    3       /* control type: command, callback function: OpenGuiCB */
18
#define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
19
#define  PANEL_EXIT                       4       /* control type: command, callback function: ExitCB */
19
#define  PANEL_STOP                       4       /* control type: command, callback function: StopCB */
20
#define  PANEL_STOP                       5       /* control type: command, callback function: StopCB */
-
 
21
#define  PANEL_ACQUIRE                    6       /* control type: command, callback function: StartCB */
-
 
22
#define  PANEL_TEMPTABLE                  7       /* control type: command, callback function: TempTableCB */
-
 
23
#define  PANEL_ANA                        8       /* control type: command, callback function: ExecRootCB */
20
#define  PANEL_CALIBRATE                  5       /* control type: command, callback function: CalibrateCB */
24
#define  PANEL_CALIBRATE                  9       /* control type: command, callback function: CalibrateCB */
-
 
25
#define  PANEL_SETVOLTAGE                 10      /* control type: command, callback function: SetVoltageCB */
21
#define  PANEL_START                      6       /* control type: command, callback function: StartCB */
26
#define  PANEL_START                      11      /* control type: command, callback function: StartCB */
-
 
27
#define  PANEL_PATH                       12      /* control type: string, callback function: (none) */
22
#define  PANEL_FILENAME                   7       /* control type: string, callback function: (none) */
28
#define  PANEL_FILENAME                   13      /* control type: string, callback function: (none) */
23
#define  PANEL_TIMER                      8       /* control type: timer, callback function: (none) */
29
#define  PANEL_TIMER                      14      /* control type: timer, callback function: (none) */
24
#define  PANEL_TWIN1                      9       /* control type: numeric, callback function: (none) */
30
#define  PANEL_SCALE_4                    15      /* control type: numeric, callback function: ScaleCB */
-
 
31
#define  PANEL_DISCONNECT                 16      /* control type: command, callback function: DisconnectCB */
-
 
32
#define  PANEL_ONOFF                      17      /* control type: binary, callback function: SwitchOnOffCB */
-
 
33
#define  PANEL_TSCAN                      18      /* control type: command, callback function: TScanCB */
-
 
34
#define  PANEL_CONNECT                    19      /* control type: command, callback function: ConnectCB */
25
#define  PANEL_TWIN0                      10      /* control type: numeric, callback function: (none) */
35
#define  PANEL_SCALE_3                    20      /* control type: numeric, callback function: ScaleCB */
-
 
36
#define  PANEL_SCALE_2                    21      /* control type: numeric, callback function: ScaleCB */
-
 
37
#define  PANEL_SCALE_1                    22      /* control type: numeric, callback function: ScaleCB */
26
#define  PANEL_TRGLEVEL                   11      /* control type: numeric, callback function: (none) */
38
#define  PANEL_TRGLEVEL                   23      /* control type: numeric, callback function: (none) */
27
#define  PANEL_TRGDELAY                   12      /* control type: numeric, callback function: (none) */
39
#define  PANEL_TRGDELAY                   24      /* control type: numeric, callback function: (none) */
28
#define  PANEL_RANGE                      13      /* control type: numeric, callback function: (none) */
40
#define  PANEL_RANGE                      25      /* control type: numeric, callback function: (none) */
29
#define  PANEL_TRGCHANNEL                 14      /* control type: numeric, callback function: (none) */
41
#define  PANEL_TRGCHANNEL                 26      /* control type: numeric, callback function: (none) */
30
#define  PANEL_PFREQ                      15      /* control type: numeric, callback function: (none) */
42
#define  PANEL_PFREQ                      27      /* control type: numeric, callback function: (none) */
31
#define  PANEL_FREQUENCY                  16      /* control type: numeric, callback function: (none) */
43
#define  PANEL_FREQUENCY                  28      /* control type: numeric, callback function: (none) */
-
 
44
#define  PANEL_VBR                        29      /* control type: numeric, callback function: (none) */
32
#define  PANEL_NEVE                       17      /* control type: numeric, callback function: (none) */
45
#define  PANEL_NEVE                       30      /* control type: numeric, callback function: (none) */
33
#define  PANEL_CEVE                       18      /* control type: numeric, callback function: (none) */
46
#define  PANEL_CEVE                       31      /* control type: numeric, callback function: (none) */
34
#define  PANEL_TRGTYPE                    19      /* control type: ring, callback function: (none) */
47
#define  PANEL_TRGTYPE                    32      /* control type: ring, callback function: (none) */
35
#define  PANEL_ENABLEDOUTPUT              20      /* control type: radioButton, callback function: (none) */
48
#define  PANEL_ENABLEDOUTPUT              33      /* control type: radioButton, callback function: (none) */
36
#define  PANEL_DEBUG                      21      /* control type: radioButton, callback function: (none) */
49
#define  PANEL_DEBUG                      34      /* control type: radioButton, callback function: (none) */
37
#define  PANEL_CH3                        22      /* control type: radioButton, callback function: (none) */
50
#define  PANEL_CH3                        35      /* control type: radioButton, callback function: (none) */
38
#define  PANEL_CH2                        23      /* control type: radioButton, callback function: (none) */
51
#define  PANEL_CH2                        36      /* control type: radioButton, callback function: (none) */
39
#define  PANEL_CH1                        24      /* control type: radioButton, callback function: (none) */
52
#define  PANEL_CH1                        37      /* control type: radioButton, callback function: (none) */
40
#define  PANEL_GRAPH                      25      /* control type: graph, callback function: (none) */
53
#define  PANEL_GRAPH                      38      /* control type: graph, callback function: (none) */
-
 
54
#define  PANEL_TIME                       39      /* control type: string, callback function: (none) */
41
#define  PANEL_CH0                        26      /* control type: radioButton, callback function: (none) */
55
#define  PANEL_CH0                        40      /* control type: radioButton, callback function: (none) */
42
#define  PANEL_TRGPOLARITY                27      /* control type: binary, callback function: (none) */
56
#define  PANEL_TRGPOLARITY                41      /* control type: binary, callback function: (none) */
43
#define  PANEL_TEXTMSG                    28      /* control type: textMsg, callback function: (none) */
57
#define  PANEL_TEXTMSG                    42      /* control type: textMsg, callback function: (none) */
44
#define  PANEL_STDIO                      29      /* control type: textBox, callback function: (none) */
58
#define  PANEL_STDIO                      43      /* control type: textBox, callback function: (none) */
-
 
59
#define  PANEL_LED                        44      /* control type: LED, callback function: (none) */
-
 
60
#define  PANEL_TMON                       45      /* control type: numeric, callback function: (none) */
-
 
61
#define  PANEL_HUMIDITY                   46      /* control type: numeric, callback function: (none) */
-
 
62
#define  PANEL_VTABLE                     47      /* control type: table, callback function: (none) */
-
 
63
#define  PANEL_TABLE                      48      /* control type: table, callback function: (none) */
45
 
64
 
-
 
65
#define  QDC                              2
-
 
66
#define  QDC_REDRAW                       2       /* control type: command, callback function: PlotQdcHistogramCB */
-
 
67
#define  QDC_OPENGUI_2                    3       /* control type: command, callback function: OpenQdcCB */
-
 
68
#define  QDC_GRAPH_4                      4       /* control type: graph, callback function: (none) */
-
 
69
#define  QDC_GRAPH_3                      5       /* control type: graph, callback function: (none) */
-
 
70
#define  QDC_GRAPH_2                      6       /* control type: graph, callback function: (none) */
-
 
71
#define  QDC_GRAPH_1                      7       /* control type: graph, callback function: (none) */
-
 
72
#define  QDC_INIT_4                       8       /* control type: command, callback function: InitQdcHistogramCB */
-
 
73
#define  QDC_INIT_3                       9       /* control type: command, callback function: InitQdcHistogramCB */
-
 
74
#define  QDC_INIT_2                       10      /* control type: command, callback function: InitQdcHistogramCB */
-
 
75
#define  QDC_INIT_1                       11      /* control type: command, callback function: InitQdcHistogramCB */
-
 
76
#define  QDC_TWIN0_4                      12      /* control type: numeric, callback function: (none) */
-
 
77
#define  QDC_TWIN1_4                      13      /* control type: numeric, callback function: (none) */
-
 
78
#define  QDC_TWIN0_3                      14      /* control type: numeric, callback function: (none) */
-
 
79
#define  QDC_TWIN1_3                      15      /* control type: numeric, callback function: (none) */
-
 
80
#define  QDC_TWIN0_2                      16      /* control type: numeric, callback function: (none) */
-
 
81
#define  QDC_TWIN1_2                      17      /* control type: numeric, callback function: (none) */
-
 
82
#define  QDC_NBIN_4                       18      /* control type: numeric, callback function: (none) */
-
 
83
#define  QDC_MAX_4                        19      /* control type: numeric, callback function: (none) */
-
 
84
#define  QDC_MIN_4                        20      /* control type: numeric, callback function: (none) */
-
 
85
#define  QDC_NBIN_3                       21      /* control type: numeric, callback function: (none) */
-
 
86
#define  QDC_ACTIVE_4                     22      /* control type: radioButton, callback function: SetActiveCB */
-
 
87
#define  QDC_ACTIVE_3                     23      /* control type: radioButton, callback function: SetActiveCB */
-
 
88
#define  QDC_ACTIVE_2                     24      /* control type: radioButton, callback function: SetActiveCB */
-
 
89
#define  QDC_LOGY                         25      /* control type: radioButton, callback function: LogScaleCB */
-
 
90
#define  QDC_WFM                          26      /* control type: radioButton, callback function: (none) */
-
 
91
#define  QDC_ACTIVE_1                     27      /* control type: radioButton, callback function: SetActiveCB */
-
 
92
#define  QDC_MAX_3                        28      /* control type: numeric, callback function: (none) */
-
 
93
#define  QDC_MIN_3                        29      /* control type: numeric, callback function: (none) */
-
 
94
#define  QDC_NBIN_2                       30      /* control type: numeric, callback function: (none) */
-
 
95
#define  QDC_MAX_2                        31      /* control type: numeric, callback function: (none) */
-
 
96
#define  QDC_MIN_2                        32      /* control type: numeric, callback function: (none) */
-
 
97
#define  QDC_NBIN_1                       33      /* control type: numeric, callback function: (none) */
-
 
98
#define  QDC_MAX_1                        34      /* control type: numeric, callback function: (none) */
-
 
99
#define  QDC_MIN_1                        35      /* control type: numeric, callback function: (none) */
-
 
100
#define  QDC_TWIN0_1                      36      /* control type: numeric, callback function: (none) */
-
 
101
#define  QDC_TWIN1_1                      37      /* control type: numeric, callback function: (none) */
-
 
102
 
46
#define  SCAN                             2
103
#define  SCAN                             3
47
#define  SCAN_OPENGUI                     2       /* control type: command, callback function: OpenGuiCB */
104
#define  SCAN_OPENGUI                     2       /* control type: command, callback function: OpenGuiCB */
48
#define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
105
#define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
49
#define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
106
#define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
50
#define  SCAN_GETPOSITION                 5       /* control type: command, callback function: GetCurrentPositionCB */
107
#define  SCAN_GETPOSITION                 5       /* control type: command, callback function: GetCurrentPositionCB */
51
#define  SCAN_FILENAME                    6       /* control type: string, callback function: (none) */
108
#define  SCAN_FILENAME                    6       /* control type: string, callback function: (none) */
Line 83... Line 140...
83
 
140
 
84
 
141
 
85
     /* Callback Prototypes: */
142
     /* Callback Prototypes: */
86
 
143
 
87
int  CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
144
int  CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
145
int  CVICALLBACK ConnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
146
int  CVICALLBACK DisconnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
147
int  CVICALLBACK ExecRootCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
88
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
148
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
89
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
149
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
90
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
150
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
91
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
151
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
92
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
152
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
153
int  CVICALLBACK InitQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
154
int  CVICALLBACK LogScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
93
int  CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
155
int  CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
94
int  CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
156
int  CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
157
int  CVICALLBACK OpenQdcCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
158
int  CVICALLBACK PlotQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
95
int  CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
159
int  CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
160
int  CVICALLBACK ScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
161
int  CVICALLBACK SetActiveCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
162
int  CVICALLBACK SetVoltageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
96
int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
163
int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
97
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
164
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
165
int  CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
166
int  CVICALLBACK TempTableCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
167
int  CVICALLBACK TScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
98
 
168
 
99
 
169
 
100
#ifdef __cplusplus
170
#ifdef __cplusplus
101
    }
171
    }
102
#endif
172
#endif