Rev 308 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 308 | Rev 310 | ||
---|---|---|---|
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_EXIT 2 /* control type: command, callback function: ExitCB */ |
17 | #define P1_EXIT 2 /* control type: command, callback function: ExitCB */ |
18 | #define P1_U_3 3 /* control type: numeric, callback function: (none) */ |
18 | #define P1_U_3 3 /* control type: numeric, callback function: (none) */ |
19 | #define P1_I_3 4 /* control type: numeric, callback function: (none) */ |
19 | #define P1_I_3 4 /* control type: numeric, callback function: (none) */ |
20 | #define P1_BOX_3 5 /* control type: radioButton, callback function: SetMaskCB */ |
20 | #define P1_BOX_3 5 /* control type: radioButton, callback function: SetMaskCB */ |
21 | #define P1_U_2 6 /* control type: numeric, callback function: (none) */ |
21 | #define P1_U_2 6 /* control type: numeric, callback function: (none) */ |
22 | #define P1_IMON_3 7 /* control type: numeric, callback function: (none) */ |
22 | #define P1_IMON_3 7 /* control type: numeric, callback function: (none) */ |
23 | #define P1_VMON_3 8 /* control type: numeric, callback function: (none) */ |
23 | #define P1_VMON_3 8 /* control type: numeric, callback function: (none) */ |
24 | #define P1_I_2 9 /* control type: numeric, callback function: (none) */ |
24 | #define P1_I_2 9 /* control type: numeric, callback function: (none) */ |
25 | #define P1_BOX_2 10 /* control type: radioButton, callback function: SetMaskCB */ |
25 | #define P1_BOX_2 10 /* control type: radioButton, callback function: SetMaskCB */ |
26 | #define P1_U_1 11 /* control type: numeric, callback function: (none) */ |
26 | #define P1_U_1 11 /* control type: numeric, callback function: (none) */ |
27 | #define P1_IMON_2 12 /* control type: numeric, callback function: (none) */ |
27 | #define P1_IMON_2 12 /* control type: numeric, callback function: (none) */ |
28 | #define P1_VMON_2 13 /* control type: numeric, callback function: (none) */ |
28 | #define P1_VMON_2 13 /* control type: numeric, callback function: (none) */ |
29 | #define P1_I_1 14 /* control type: numeric, callback function: (none) */ |
29 | #define P1_I_1 14 /* control type: numeric, callback function: (none) */ |
30 | #define P1_BOX_1 15 /* control type: radioButton, callback function: SetMaskCB */ |
30 | #define P1_BOX_1 15 /* control type: radioButton, callback function: SetMaskCB */ |
31 | #define P1_READ 16 /* control type: command, callback function: ReadCB */ |
31 | #define P1_READ 16 /* control type: command, callback function: ReadCB */ |
32 | #define P1_SET 17 /* control type: command, callback function: SetCB */ |
32 | #define P1_SET 17 /* control type: command, callback function: SetCB */ |
33 | #define P1_IMON_1 18 /* control type: numeric, callback function: (none) */ |
33 | #define P1_IMON_1 18 /* control type: numeric, callback function: (none) */ |
34 | #define P1_VMON_1 19 /* control type: numeric, callback function: (none) */ |
34 | #define P1_VMON_1 19 /* control type: numeric, callback function: (none) */ |
35 | #define P1_TIMERON 20 /* control type: binary, callback function: TimerOnOffCB */ |
35 | #define P1_TIMERON 20 /* control type: binary, callback function: TimerOnOffCB */ |
- | 36 | #define P1_DEBUG 21 /* control type: radioButton, callback function: DebugCB */ |
|
36 | #define P1_LOG |
37 | #define P1_LOG 22 /* control type: radioButton, callback function: LogToFileCB */ |
37 | #define P1_CVCC_3 |
38 | #define P1_CVCC_3 23 /* control type: LED, callback function: (none) */ |
38 | #define P1_CVCC_2 |
39 | #define P1_CVCC_2 24 /* control type: LED, callback function: (none) */ |
- | 40 | #define P1_ONOFFLED 25 /* control type: LED, callback function: (none) */ |
|
39 | #define P1_CVCC_1 |
41 | #define P1_CVCC_1 26 /* control type: LED, callback function: (none) */ |
40 | #define P1_TIMER |
42 | #define P1_TIMER 27 /* control type: timer, callback function: TimerCB */ |
41 | #define P1_ONOFF |
43 | #define P1_ONOFF 28 /* control type: binary, callback function: SwitchOnOffCB */ |
42 | #define P1_TINTERVAL |
44 | #define P1_TINTERVAL 29 /* control type: numeric, callback function: SetIntervalCB */ |
43 | #define P1_PRESET |
45 | #define P1_PRESET 30 /* control type: numeric, callback function: SetPresetCB */ |
44 | #define P1_GRAPH_IMON |
46 | #define P1_GRAPH_IMON 31 /* control type: strip, callback function: (none) */ |
45 | #define P1_GRAPH_VMON |
47 | #define P1_GRAPH_VMON 32 /* control type: strip, callback function: (none) */ |
46 | 48 | ||
47 | 49 | ||
48 | /* Control Arrays: */ |
50 | /* Control Arrays: */ |
49 | 51 | ||
50 | /* (no control arrays in the resource file) */ |
52 | /* (no control arrays in the resource file) */ |
51 | 53 | ||
52 | 54 | ||
53 | /* Menu Bars, Menus, and Menu Items: */ |
55 | /* Menu Bars, Menus, and Menu Items: */ |
54 | 56 | ||
55 | /* (no menu bars in the resource file) */ |
57 | /* (no menu bars in the resource file) */ |
56 | 58 | ||
57 | 59 | ||
58 | /* Callback Prototypes: */ |
60 | /* Callback Prototypes: */ |
59 | 61 | ||
- | 62 | int CVICALLBACK DebugCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
|
60 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
63 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
61 | int CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
64 | int CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
62 | int CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
65 | int CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
63 | int CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
66 | int CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
64 | int CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
67 | int CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
65 | int CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
68 | int CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
66 | int CVICALLBACK SetPresetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
69 | int CVICALLBACK SetPresetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
67 | int CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
70 | int CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
68 | int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
71 | int CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
69 | int CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
72 | int CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
70 | 73 | ||
71 | 74 | ||
72 | #ifdef __cplusplus |
75 | #ifdef __cplusplus |
73 | } |
76 | } |
74 | #endif |
77 | #endif |
75 | 78 |