Rev 365 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 365 | Rev 368 | ||
---|---|---|---|
1 | /**************************************************************************/ |
1 | /**************************************************************************/ |
2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
3 | /* */ |
3 | /* */ |
4 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
4 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
5 | /* of this include file. */ |
5 | /* of this include file. */ |
6 | /**************************************************************************/ |
6 | /**************************************************************************/ |
7 | 7 | ||
8 | #include <userint.h> |
8 | #include <userint.h> |
9 | 9 | ||
10 | #ifdef __cplusplus |
10 | #ifdef __cplusplus |
11 | extern "C" { |
11 | extern "C" { |
12 | #endif |
12 | #endif |
13 | 13 | ||
14 | /* Panels and Controls: */ |
14 | /* Panels and Controls: */ |
15 | 15 | ||
16 | #define P1 1 |
16 | #define P1 1 |
17 | #define P1_B1 2 /* control type: command, callback function: (none) */ |
17 | #define P1_B1 2 /* control type: command, callback function: (none) */ |
18 | #define P1_DIS_3 3 /* control type: command, callback function: (none) */ |
18 | #define P1_DIS_3 3 /* control type: command, callback function: (none) */ |
19 | #define P1_EN_3 4 /* control type: command, callback function: (none) */ |
19 | #define P1_EN_3 4 /* control type: command, callback function: (none) */ |
20 | #define P1_DIS_2 5 /* control type: command, callback function: (none) */ |
20 | #define P1_DIS_2 5 /* control type: command, callback function: (none) */ |
21 | #define P1_EN_2 6 /* control type: command, callback function: (none) */ |
21 | #define P1_EN_2 6 /* control type: command, callback function: (none) */ |
22 | #define P1_STOP_3 7 /* control type: command, callback function: (none) */ |
22 | #define P1_STOP_3 7 /* control type: command, callback function: (none) */ |
23 | #define P1_STOP_2 8 /* control type: command, callback function: (none) */ |
23 | #define P1_STOP_2 8 /* control type: command, callback function: (none) */ |
24 | #define P1_STOP 9 /* control type: command, callback function: (none) */ |
24 | #define P1_STOP 9 /* control type: command, callback function: (none) */ |
25 | #define P1_DIS 10 /* control type: command, callback function: (none) */ |
25 | #define P1_DIS 10 /* control type: command, callback function: (none) */ |
26 | #define P1_EN 11 /* control type: command, callback function: (none) */ |
26 | #define P1_EN 11 /* control type: command, callback function: (none) */ |
27 | #define P1_HO_3 12 /* control type: command, callback function: (none) */ |
27 | #define P1_HO_3 12 /* control type: command, callback function: (none) */ |
28 | #define P1_HO_2 13 /* control type: command, callback function: (none) */ |
28 | #define P1_HO_2 13 /* control type: command, callback function: (none) */ |
29 | #define P1_HO 14 /* control type: command, callback function: (none) */ |
29 | #define P1_HO 14 /* control type: command, callback function: (none) */ |
30 | #define P1_B3_3 15 /* control type: command, callback function: (none) */ |
30 | #define P1_B3_3 15 /* control type: command, callback function: (none) */ |
31 | #define P1_B3_2 16 /* control type: command, callback function: (none) */ |
31 | #define P1_B3_2 16 /* control type: command, callback function: (none) */ |
32 | #define P1_B3 17 /* control type: command, callback function: (none) */ |
32 | #define P1_B3 17 /* control type: command, callback function: (none) */ |
33 | #define P1_N2_3 18 /* control type: numeric, callback function: (none) */ |
33 | #define P1_N2_3 18 /* control type: numeric, callback function: (none) */ |
34 | #define P1_N2_2 19 /* control type: numeric, callback function: (none) */ |
34 | #define P1_N2_2 19 /* control type: numeric, callback function: (none) */ |
35 | #define P1_N2 20 /* control type: numeric, callback function: (none) */ |
35 | #define P1_N2 20 /* control type: numeric, callback function: (none) */ |
36 | #define P1_L14_3 21 /* control type: LED, callback function: (none) */ |
36 | #define P1_L14_3 21 /* control type: LED, callback function: (none) */ |
37 | #define P1_L13_3 22 /* control type: LED, callback function: (none) */ |
37 | #define P1_L13_3 22 /* control type: LED, callback function: (none) */ |
38 | #define P1_L12_3 23 /* control type: LED, callback function: (none) */ |
38 | #define P1_L12_3 23 /* control type: LED, callback function: (none) */ |
39 | #define P1_L11_3 24 /* control type: LED, callback function: (none) */ |
39 | #define P1_L11_3 24 /* control type: LED, callback function: (none) */ |
40 | #define P1_L10_3 25 /* control type: LED, callback function: (none) */ |
40 | #define P1_L10_3 25 /* control type: LED, callback function: (none) */ |
41 | #define P1_L9_3 26 /* control type: LED, callback function: (none) */ |
41 | #define P1_L9_3 26 /* control type: LED, callback function: (none) */ |
42 | #define P1_L8_3 27 /* control type: LED, callback function: (none) */ |
42 | #define P1_L8_3 27 /* control type: LED, callback function: (none) */ |
43 | #define P1_L7_3 28 /* control type: LED, callback function: (none) */ |
43 | #define P1_L7_3 28 /* control type: LED, callback function: (none) */ |
44 | #define P1_L6_3 29 /* control type: LED, callback function: (none) */ |
44 | #define P1_L6_3 29 /* control type: LED, callback function: (none) */ |
45 | #define P1_L5_3 30 /* control type: LED, callback function: (none) */ |
45 | #define P1_L5_3 30 /* control type: LED, callback function: (none) */ |
46 | #define P1_L4_3 31 /* control type: LED, callback function: (none) */ |
46 | #define P1_L4_3 31 /* control type: LED, callback function: (none) */ |
47 | #define P1_L3_3 32 /* control type: LED, callback function: (none) */ |
47 | #define P1_L3_3 32 /* control type: LED, callback function: (none) */ |
48 | #define P1_L2_3 33 /* control type: LED, callback function: (none) */ |
48 | #define P1_L2_3 33 /* control type: LED, callback function: (none) */ |
49 | #define P1_L1_3 34 /* control type: LED, callback function: (none) */ |
49 | #define P1_L1_3 34 /* control type: LED, callback function: (none) */ |
50 | #define P1_L14_2 35 /* control type: LED, callback function: (none) */ |
50 | #define P1_L14_2 35 /* control type: LED, callback function: (none) */ |
51 | #define P1_L13_2 36 /* control type: LED, callback function: (none) */ |
51 | #define P1_L13_2 36 /* control type: LED, callback function: (none) */ |
52 | #define P1_L12_2 37 /* control type: LED, callback function: (none) */ |
52 | #define P1_L12_2 37 /* control type: LED, callback function: (none) */ |
53 | #define P1_L11_2 38 /* control type: LED, callback function: (none) */ |
53 | #define P1_L11_2 38 /* control type: LED, callback function: (none) */ |
54 | #define P1_L10_2 39 /* control type: LED, callback function: (none) */ |
54 | #define P1_L10_2 39 /* control type: LED, callback function: (none) */ |
55 | #define P1_L9_2 40 /* control type: LED, callback function: (none) */ |
55 | #define P1_L9_2 40 /* control type: LED, callback function: (none) */ |
56 | #define P1_L8_2 41 /* control type: LED, callback function: (none) */ |
56 | #define P1_L8_2 41 /* control type: LED, callback function: (none) */ |
57 | #define P1_L7_2 42 /* control type: LED, callback function: (none) */ |
57 | #define P1_L7_2 42 /* control type: LED, callback function: (none) */ |
58 | #define P1_L6_2 43 /* control type: LED, callback function: (none) */ |
58 | #define P1_L6_2 43 /* control type: LED, callback function: (none) */ |
59 | #define P1_L5_2 44 /* control type: LED, callback function: (none) */ |
59 | #define P1_L5_2 44 /* control type: LED, callback function: (none) */ |
60 | #define P1_L4_2 45 /* control type: LED, callback function: (none) */ |
60 | #define P1_L4_2 45 /* control type: LED, callback function: (none) */ |
61 | #define P1_L3_2 46 /* control type: LED, callback function: (none) */ |
61 | #define P1_L3_2 46 /* control type: LED, callback function: (none) */ |
62 | #define P1_L2_2 47 /* control type: LED, callback function: (none) */ |
62 | #define P1_L2_2 47 /* control type: LED, callback function: (none) */ |
63 | #define P1_L1_2 48 /* control type: LED, callback function: (none) */ |
63 | #define P1_L1_2 48 /* control type: LED, callback function: (none) */ |
64 | #define P1_L14 49 /* control type: LED, callback function: (none) */ |
64 | #define P1_L14 49 /* control type: LED, callback function: (none) */ |
65 | #define P1_L13 50 /* control type: LED, callback function: (none) */ |
65 | #define P1_L13 50 /* control type: LED, callback function: (none) */ |
66 | #define P1_L12 51 /* control type: LED, callback function: (none) */ |
66 | #define P1_L12 51 /* control type: LED, callback function: (none) */ |
67 | #define P1_L11 52 /* control type: LED, callback function: (none) */ |
67 | #define P1_L11 52 /* control type: LED, callback function: (none) */ |
68 | #define P1_L10 53 /* control type: LED, callback function: (none) */ |
68 | #define P1_L10 53 /* control type: LED, callback function: (none) */ |
69 | #define P1_L9 54 /* control type: LED, callback function: (none) */ |
69 | #define P1_L9 54 /* control type: LED, callback function: (none) */ |
70 | #define P1_L8 55 /* control type: LED, callback function: (none) */ |
70 | #define P1_L8 55 /* control type: LED, callback function: (none) */ |
71 | #define P1_L7 56 /* control type: LED, callback function: (none) */ |
71 | #define P1_L7 56 /* control type: LED, callback function: (none) */ |
72 | #define P1_L6 57 /* control type: LED, callback function: (none) */ |
72 | #define P1_L6 57 /* control type: LED, callback function: (none) */ |
73 | #define P1_L5 58 /* control type: LED, callback function: (none) */ |
73 | #define P1_L5 58 /* control type: LED, callback function: (none) */ |
74 | #define P1_L4 59 /* control type: LED, callback function: (none) */ |
74 | #define P1_L4 59 /* control type: LED, callback function: (none) */ |
75 | #define P1_L3 60 /* control type: LED, callback function: (none) */ |
75 | #define P1_L3 60 /* control type: LED, callback function: (none) */ |
76 | #define P1_L2 61 /* control type: LED, callback function: (none) */ |
76 | #define P1_L2 61 /* control type: LED, callback function: (none) */ |
77 | #define P1_L1 62 /* control type: LED, callback function: (none) */ |
77 | #define P1_L1 62 /* control type: LED, callback function: (none) */ |
78 | #define P1_BF 63 /* control type: command, callback function: (none) */ |
78 | #define P1_BF 63 /* control type: command, callback function: (none) */ |
79 | #define P1_BD 64 /* control type: command, callback function: (none) */ |
79 | #define P1_BD 64 /* control type: command, callback function: (none) */ |
80 | #define P1_BB 65 /* control type: command, callback function: (none) */ |
80 | #define P1_BB 65 /* control type: command, callback function: (none) */ |
81 | #define P1_BR 66 /* control type: command, callback function: (none) */ |
81 | #define P1_BR 66 /* control type: command, callback function: (none) */ |
82 | #define P1_BU 67 /* control type: command, callback function: (none) */ |
82 | #define P1_BU 67 /* control type: command, callback function: (none) */ |
83 | #define P1_BL 68 /* control type: command, callback function: (none) */ |
83 | #define P1_BL 68 /* control type: command, callback function: (none) */ |
84 | #define P1_XG 69 /* control type: numeric, callback function: (none) */ |
84 | #define P1_XG 69 /* control type: numeric, callback function: (none) */ |
85 | #define P1_ZG 70 /* control type: numeric, callback function: (none) */ |
85 | #define P1_ZG 70 /* control type: numeric, callback function: (none) */ |
86 | #define P1_ZP 71 /* control type: numeric, callback function: (none) */ |
86 | #define P1_ZP 71 /* control type: numeric, callback function: (none) */ |
87 | #define P1_YG 72 /* control type: numeric, callback function: (none) */ |
87 | #define P1_YG 72 /* control type: numeric, callback function: (none) */ |
88 | #define P1_XP 73 /* control type: numeric, callback function: (none) */ |
88 | #define P1_XP 73 /* control type: numeric, callback function: (none) */ |
89 | #define P1_YP 74 /* control type: numeric, callback function: (none) */ |
89 | #define P1_YP 74 /* control type: numeric, callback function: (none) */ |
90 | #define P1_GZ 75 /* control type: command, callback function: (none) */ |
90 | #define P1_GZ 75 /* control type: command, callback function: (none) */ |
91 | #define P1_GY 76 /* control type: command, callback function: (none) */ |
91 | #define P1_GY 76 /* control type: command, callback function: (none) */ |
92 | #define P1_GX 77 /* control type: command, callback function: (none) */ |
92 | #define P1_GX 77 /* control type: command, callback function: (none) */ |
93 | #define P1_G 78 /* control type: command, callback function: (none) */ |
93 | #define P1_G 78 /* control type: command, callback function: (none) */ |
94 | #define P1_SCANLED 79 /* control type: LED, callback function: (none) */ |
94 | #define P1_SCANLED 79 /* control type: LED, callback function: (none) */ |
95 | #define P1_DAQLED 80 /* control type: LED, callback function: (none) */ |
95 | #define P1_DAQLED 80 /* control type: LED, callback function: (none) */ |
96 | #define P1_COMLED 81 /* control type: LED, callback function: (none) */ |
96 | #define P1_COMLED 81 /* control type: LED, callback function: (none) */ |
97 | #define P1_TEXTMSG_3 82 /* control type: textMsg, callback function: (none) */ |
97 | #define P1_TEXTMSG_3 82 /* control type: textMsg, callback function: (none) */ |
98 | #define P1_TEXTMSG_2 83 /* control type: textMsg, callback function: (none) */ |
98 | #define P1_TEXTMSG_2 83 /* control type: textMsg, callback function: (none) */ |
99 | #define P1_TEXTMSG 84 /* control type: textMsg, callback function: (none) */ |
99 | #define P1_TEXTMSG 84 /* control type: textMsg, callback function: (none) */ |
100 | #define P1_DECORATION_5 85 /* control type: deco, callback function: (none) */ |
100 | #define P1_DECORATION_5 85 /* control type: deco, callback function: (none) */ |
101 | #define P1_DECORATION_2 86 /* control type: deco, callback function: (none) */ |
101 | #define P1_DECORATION_2 86 /* control type: deco, callback function: (none) */ |
102 | #define P1_TIMEOUT 87 /* control type: timer, callback function: LTS_Timeout */ |
- | |
103 | #define P1_TIMER |
102 | #define P1_TIMER 87 /* control type: timer, callback function: TimerCB */ |
104 | #define P1_DECORATION_4 |
103 | #define P1_DECORATION_4 88 /* control type: deco, callback function: (none) */ |
105 | #define P1_STOPSCAN |
104 | #define P1_STOPSCAN 89 /* control type: command, callback function: (none) */ |
106 | #define P1_SCAN |
105 | #define P1_SCAN 90 /* control type: command, callback function: (none) */ |
107 | #define P1_IZ |
106 | #define P1_IZ 91 /* control type: numeric, callback function: (none) */ |
108 | #define P1_IY |
107 | #define P1_IY 92 /* control type: numeric, callback function: (none) */ |
109 | #define P1_IX |
108 | #define P1_IX 93 /* control type: numeric, callback function: (none) */ |
110 | #define P1_NZ |
109 | #define P1_NZ 94 /* control type: numeric, callback function: (none) */ |
111 | #define P1_NY |
110 | #define P1_NY 95 /* control type: numeric, callback function: (none) */ |
112 | #define P1_NX |
111 | #define P1_NX 96 /* control type: numeric, callback function: (none) */ |
113 | #define P1_Z0 |
112 | #define P1_Z0 97 /* control type: numeric, callback function: (none) */ |
114 | #define P1_Y0 |
113 | #define P1_Y0 98 /* control type: numeric, callback function: (none) */ |
115 | #define P1_X0 |
114 | #define P1_X0 99 /* control type: numeric, callback function: (none) */ |
116 | #define P1_DZ |
115 | #define P1_DZ 100 /* control type: numeric, callback function: (none) */ |
117 | #define P1_DY |
116 | #define P1_DY 101 /* control type: numeric, callback function: (none) */ |
118 | #define P1_DX |
117 | #define P1_DX 102 /* control type: numeric, callback function: (none) */ |
119 | #define P1_CBZ |
118 | #define P1_CBZ 103 /* control type: radioButton, callback function: (none) */ |
120 | #define P1_CBY |
119 | #define P1_CBY 104 /* control type: radioButton, callback function: (none) */ |
121 | #define P1_CBX |
120 | #define P1_CBX 105 /* control type: radioButton, callback function: (none) */ |
122 | #define P1_DECORATION_3 |
121 | #define P1_DECORATION_3 106 /* control type: deco, callback function: (none) */ |
123 | #define P1_PROGRESS |
122 | #define P1_PROGRESS 107 /* control type: scale, callback function: (none) */ |
124 | 123 | ||
125 | 124 | ||
126 | /* Control Arrays: */ |
125 | /* Control Arrays: */ |
127 | 126 | ||
128 | /* (no control arrays in the resource file) */ |
127 | /* (no control arrays in the resource file) */ |
129 | 128 | ||
130 | 129 | ||
131 | /* Menu Bars, Menus, and Menu Items: */ |
130 | /* Menu Bars, Menus, and Menu Items: */ |
132 | 131 | ||
133 | /* (no menu bars in the resource file) */ |
132 | /* (no menu bars in the resource file) */ |
134 | 133 | ||
135 | 134 | ||
136 | /* Callback Prototypes: */ |
135 | /* Callback Prototypes: */ |
137 | 136 | ||
138 | int CVICALLBACK LTS_Timeout(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
- | |
139 | int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
137 | int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
140 | 138 | ||
141 | 139 | ||
142 | #ifdef __cplusplus |
140 | #ifdef __cplusplus |
143 | } |
141 | } |
144 | #endif |
142 | #endif |
145 | 143 |