Rev 265 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
195 | f9daq | 1 | /**************************************************************************/ |
2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
||
3 | /* */ |
||
4 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
||
5 | /* of this include file. */ |
||
6 | /**************************************************************************/ |
||
7 | |||
8 | #include <userint.h> |
||
9 | |||
10 | #ifdef __cplusplus |
||
11 | extern "C" { |
||
12 | #endif |
||
13 | |||
14 | /* Panels and Controls: */ |
||
15 | |||
16 | #define PANEL 1 |
||
317 | f9daq | 17 | #define PANEL_OPENGUI_2 2 /* control type: command, callback function: OpenQdcCB */ |
18 | #define PANEL_OPENGUI 3 /* control type: command, callback function: OpenGuiCB */ |
||
19 | #define PANEL_EXIT 4 /* control type: command, callback function: ExitCB */ |
||
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 */ |
||
24 | #define PANEL_CALIBRATE 9 /* control type: command, callback function: CalibrateCB */ |
||
25 | #define PANEL_SETVOLTAGE 10 /* control type: command, callback function: SetVoltageCB */ |
||
26 | #define PANEL_START 11 /* control type: command, callback function: StartCB */ |
||
27 | #define PANEL_PATH 12 /* control type: string, callback function: (none) */ |
||
28 | #define PANEL_FILENAME 13 /* control type: string, callback function: (none) */ |
||
29 | #define PANEL_TIMER 14 /* control type: timer, 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 */ |
||
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 */ |
||
38 | #define PANEL_TRGLEVEL 23 /* control type: numeric, callback function: (none) */ |
||
39 | #define PANEL_TRGDELAY 24 /* control type: numeric, callback function: (none) */ |
||
40 | #define PANEL_RANGE 25 /* control type: numeric, callback function: (none) */ |
||
41 | #define PANEL_TRGCHANNEL 26 /* control type: numeric, callback function: (none) */ |
||
42 | #define PANEL_PFREQ 27 /* 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) */ |
||
45 | #define PANEL_NEVE 30 /* control type: numeric, callback function: (none) */ |
||
46 | #define PANEL_CEVE 31 /* control type: numeric, callback function: (none) */ |
||
47 | #define PANEL_TRGTYPE 32 /* control type: ring, callback function: (none) */ |
||
48 | #define PANEL_ENABLEDOUTPUT 33 /* control type: radioButton, callback function: (none) */ |
||
49 | #define PANEL_DEBUG 34 /* control type: radioButton, callback function: (none) */ |
||
50 | #define PANEL_CH3 35 /* control type: radioButton, callback function: (none) */ |
||
51 | #define PANEL_CH2 36 /* control type: radioButton, callback function: (none) */ |
||
52 | #define PANEL_CH1 37 /* control type: radioButton, 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) */ |
||
55 | #define PANEL_CH0 40 /* control type: radioButton, callback function: (none) */ |
||
56 | #define PANEL_TRGPOLARITY 41 /* control type: binary, callback function: (none) */ |
||
57 | #define PANEL_TEXTMSG 42 /* control type: textMsg, 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) */ |
||
195 | f9daq | 64 | |
317 | f9daq | 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 | |||
103 | #define SCAN 3 |
||
217 | f9daq | 104 | #define SCAN_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */ |
105 | #define SCAN_BD 3 /* control type: command, callback function: MoveStageCB */ |
||
106 | #define SCAN_BR 4 /* control type: command, callback function: MoveStageCB */ |
||
107 | #define SCAN_GETPOSITION 5 /* control type: command, callback function: GetCurrentPositionCB */ |
||
108 | #define SCAN_FILENAME 6 /* control type: string, callback function: (none) */ |
||
109 | #define SCAN_SCAN 7 /* control type: command, callback function: StartCB */ |
||
110 | #define SCAN_BU 8 /* control type: command, callback function: MoveStageCB */ |
||
111 | #define SCAN_HO 9 /* control type: command, callback function: HomeCB */ |
||
112 | #define SCAN_BL 10 /* control type: command, callback function: MoveStageCB */ |
||
113 | #define SCAN_XG 11 /* control type: numeric, callback function: (none) */ |
||
114 | #define SCAN_YG 12 /* control type: numeric, callback function: (none) */ |
||
115 | #define SCAN_IX 13 /* control type: numeric, callback function: (none) */ |
||
116 | #define SCAN_IY 14 /* control type: numeric, callback function: (none) */ |
||
117 | #define SCAN_NSTEPSX 15 /* control type: numeric, callback function: (none) */ |
||
118 | #define SCAN_NSTEPSY 16 /* control type: numeric, callback function: (none) */ |
||
119 | #define SCAN_STEPX 17 /* control type: numeric, callback function: (none) */ |
||
120 | #define SCAN_STEPY 18 /* control type: numeric, callback function: (none) */ |
||
121 | #define SCAN_STARTX 19 /* control type: numeric, callback function: (none) */ |
||
122 | #define SCAN_STARTY 20 /* control type: numeric, callback function: (none) */ |
||
123 | #define SCAN_XP 21 /* control type: numeric, callback function: (none) */ |
||
124 | #define SCAN_YP 22 /* control type: numeric, callback function: (none) */ |
||
125 | #define SCAN_GRAPH 23 /* control type: graph, callback function: (none) */ |
||
126 | #define SCAN_GY 24 /* control type: command, callback function: GoYCB */ |
||
127 | #define SCAN_GX 25 /* control type: command, callback function: GoXCB */ |
||
128 | #define SCAN_PORT 26 /* control type: numeric, callback function: (none) */ |
||
129 | #define SCAN_CHANNEL 27 /* control type: numeric, callback function: PlotScanHistogramCB */ |
||
195 | f9daq | 130 | |
203 | f9daq | 131 | |
195 | f9daq | 132 | /* Control Arrays: */ |
133 | |||
134 | /* (no control arrays in the resource file) */ |
||
135 | |||
136 | |||
137 | /* Menu Bars, Menus, and Menu Items: */ |
||
138 | |||
139 | /* (no menu bars in the resource file) */ |
||
140 | |||
141 | |||
142 | /* Callback Prototypes: */ |
||
143 | |||
265 | f9daq | 144 | int CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
317 | f9daq | 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); |
||
195 | f9daq | 148 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
203 | f9daq | 149 | int CVICALLBACK GetCurrentPositionCB(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); |
||
151 | int CVICALLBACK GoYCB(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); |
||
317 | f9daq | 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); |
||
203 | f9daq | 155 | int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
217 | f9daq | 156 | int CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
317 | f9daq | 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); |
||
217 | f9daq | 159 | int CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
317 | f9daq | 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); |
||
195 | f9daq | 163 | int CVICALLBACK StartCB(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); |
||
317 | f9daq | 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); |
||
195 | f9daq | 168 | |
169 | |||
170 | #ifdef __cplusplus |
||
171 | } |
||
172 | #endif |