Rev 162 | Rev 164 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 162 | Rev 163 | ||
|---|---|---|---|
| 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_HVset 2 /* control type: command, callback function: (none) */ |
17 | #define P1_HVset 2 /* control type: command, callback function: (none) */ |
| 18 | #define P1_EXIT 3 /* control type: command, callback function: (none) */ |
18 | #define P1_EXIT 3 /* control type: command, callback function: (none) */ |
| 19 | #define P1_HVcset 4 /* control type: numeric, callback function: (none) */ |
19 | #define P1_HVcset 4 /* control type: numeric, callback function: (none) */ |
| 20 | #define P1_HVvrise 5 /* control type: numeric, callback function: (none) */ |
20 | #define P1_HVvrise 5 /* control type: numeric, callback function: (none) */ |
| 21 | #define |
21 | #define P1_HVcdis_3 6 /* control type: numeric, callback function: (none) */ |
| 22 | #define |
22 | #define P1_HVvdis_3 7 /* control type: numeric, callback function: (none) */ |
| 23 | #define |
23 | #define P1_HVcdis_2 8 /* control type: numeric, callback function: (none) */ |
| 24 | #define |
24 | #define P1_HVvdis_2 9 /* control type: numeric, callback function: (none) */ |
| 25 | #define |
25 | #define P1_HVcdis_1 10 /* control type: numeric, callback function: (none) */ |
| 26 | #define |
26 | #define P1_HVvdis_1 11 /* control type: numeric, callback function: (none) */ |
| 27 | #define |
27 | #define P1_HVcdis_0 12 /* control type: numeric, callback function: (none) */ |
| 28 | #define |
28 | #define P1_HVvdis_0 13 /* control type: numeric, callback function: (none) */ |
| 29 | #define P1_HVvset 14 /* control type: numeric, callback function: (none) */ |
29 | #define P1_HVvset 14 /* control type: numeric, callback function: (none) */ |
| 30 | #define |
30 | #define P1_HVonoff_3 15 /* control type: radioButton, callback function: (none) */ |
| 31 | #define |
31 | #define P1_HVonoff_2 16 /* control type: radioButton, callback function: (none) */ |
| 32 | #define |
32 | #define P1_HVonoff_1 17 /* control type: radioButton, callback function: (none) */ |
| 33 | #define |
33 | #define P1_HVonoff_0 18 /* control type: radioButton, callback function: (none) */ |
| 34 | #define P1_HVonoffall 19 /* control type: radioButton, callback function: (none) */ |
34 | #define P1_HVonoffall 19 /* control type: radioButton, callback function: (none) */ |
| 35 | #define P1_REFRESHTIMER 20 /* control type: timer, callback function: refreshTimer */ |
35 | #define P1_REFRESHTIMER 20 /* control type: timer, callback function: refreshTimer */ |
| 36 | #define P1_MSW 21 /* control type: binary, callback function: (none) */ |
36 | #define P1_MSW 21 /* control type: binary, callback function: (none) */ |
| 37 | #define P1_G1 22 /* control type: strip, callback function: (none) */ |
37 | #define P1_G1 22 /* control type: strip, callback function: (none) */ |
| 38 | #define P1_MSWLED 23 /* control type: LED, callback function: (none) */ |
38 | #define P1_MSWLED 23 /* control type: LED, callback function: (none) */ |
| 39 | #define P1_MST 24 /* control type: numeric, callback function: (none) */ |
39 | #define P1_MST 24 /* control type: numeric, callback function: (none) */ |
| 40 | #define P1_MFS 25 /* control type: numeric, callback function: (none) */ |
40 | #define P1_MFS 25 /* control type: numeric, callback function: (none) */ |
| 41 | 41 | ||
| 42 | 42 | ||
| 43 | /* Control Arrays: */ |
43 | /* Control Arrays: */ |
| 44 | 44 | ||
| 45 | #define CTRLARRAY 1 |
45 | #define CTRLARRAY 1 |
| 46 | 46 | ||
| 47 | /* Menu Bars, Menus, and Menu Items: */ |
47 | /* Menu Bars, Menus, and Menu Items: */ |
| 48 | 48 | ||
| 49 | /* (no menu bars in the resource file) */ |
49 | /* (no menu bars in the resource file) */ |
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | /* Callback Prototypes: */ |
52 | /* Callback Prototypes: */ |
| 53 | 53 | ||
| 54 | int CVICALLBACK refreshTimer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
54 | int CVICALLBACK refreshTimer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | #ifdef __cplusplus |
57 | #ifdef __cplusplus |
| 58 | } |
58 | } |
| 59 | #endif |
59 | #endif |
| 60 | 60 | ||