Rev 212 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 212 | Rev 315 | ||
---|---|---|---|
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 SCAN 1 |
16 | #define SCAN 1 |
17 | #define SCAN_OPENMAIN 2 /* control type: command, callback function: OpenMainCB */ |
17 | #define SCAN_OPENMAIN 2 /* control type: command, callback function: OpenMainCB */ |
- | 18 | #define SCAN_BB 3 /* control type: command, callback function: MoveStageCB */ |
|
18 | #define SCAN_BD |
19 | #define SCAN_BD 4 /* control type: command, callback function: MoveStageCB */ |
19 | #define SCAN_BR |
20 | #define SCAN_BR 5 /* control type: command, callback function: MoveStageCB */ |
20 | #define SCAN_GETPOSITION |
21 | #define SCAN_GETPOSITION 6 /* control type: command, callback function: GetCurrentPositionCB */ |
- | 22 | #define SCAN_BF 7 /* control type: command, callback function: MoveStageCB */ |
|
21 | #define SCAN_SCAN |
23 | #define SCAN_SCAN 8 /* control type: command, callback function: StartCB */ |
22 | #define SCAN_BU |
24 | #define SCAN_BU 9 /* control type: command, callback function: MoveStageCB */ |
23 | #define SCAN_HO |
25 | #define SCAN_HO 10 /* control type: command, callback function: HomeCB */ |
- | 26 | #define SCAN_ZG 11 /* control type: numeric, callback function: (none) */ |
|
24 | #define SCAN_BL |
27 | #define SCAN_BL 12 /* control type: command, callback function: MoveStageCB */ |
25 | #define SCAN_XG |
28 | #define SCAN_XG 13 /* control type: numeric, callback function: (none) */ |
26 | #define SCAN_YG |
29 | #define SCAN_YG 14 /* control type: numeric, callback function: (none) */ |
27 | #define SCAN_IX |
30 | #define SCAN_IX 15 /* control type: numeric, callback function: (none) */ |
28 | #define SCAN_IY |
31 | #define SCAN_IY 16 /* control type: numeric, callback function: (none) */ |
29 | #define SCAN_NSTEPSX |
32 | #define SCAN_NSTEPSX 17 /* control type: numeric, callback function: (none) */ |
30 | #define SCAN_NSTEPSY |
33 | #define SCAN_NSTEPSY 18 /* control type: numeric, callback function: (none) */ |
31 | #define SCAN_STEPX |
34 | #define SCAN_STEPX 19 /* control type: numeric, callback function: (none) */ |
- | 35 | #define SCAN_STEPZ 20 /* control type: numeric, callback function: (none) */ |
|
32 | #define SCAN_STEPY |
36 | #define SCAN_STEPY 21 /* control type: numeric, callback function: (none) */ |
- | 37 | #define SCAN_ZP 22 /* control type: numeric, callback function: (none) */ |
|
- | 38 | #define SCAN_GZ 23 /* control type: command, callback function: GoZCB */ |
|
33 | #define SCAN_STARTX |
39 | #define SCAN_STARTX 24 /* control type: numeric, callback function: (none) */ |
34 | #define SCAN_STARTY |
40 | #define SCAN_STARTY 25 /* control type: numeric, callback function: (none) */ |
35 | #define SCAN_XP |
41 | #define SCAN_XP 26 /* control type: numeric, callback function: (none) */ |
36 | #define SCAN_YP |
42 | #define SCAN_YP 27 /* control type: numeric, callback function: (none) */ |
37 | #define SCAN_GY |
43 | #define SCAN_GY 28 /* control type: command, callback function: GoYCB */ |
38 | #define SCAN_GX |
44 | #define SCAN_GX 29 /* control type: command, callback function: GoXCB */ |
39 | #define SCAN_PORT |
45 | #define SCAN_PORT 30 /* control type: numeric, callback function: (none) */ |
40 | 46 | ||
41 | 47 | ||
42 | /* Control Arrays: */ |
48 | /* Control Arrays: */ |
43 | 49 | ||
44 | /* (no control arrays in the resource file) */ |
50 | /* (no control arrays in the resource file) */ |
45 | 51 | ||
46 | 52 | ||
47 | /* Menu Bars, Menus, and Menu Items: */ |
53 | /* Menu Bars, Menus, and Menu Items: */ |
48 | 54 | ||
49 | /* (no menu bars in the resource file) */ |
55 | /* (no menu bars in the resource file) */ |
50 | 56 | ||
51 | 57 | ||
52 | /* Callback Prototypes: */ |
58 | /* Callback Prototypes: */ |
53 | 59 | ||
54 | int CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
60 | int CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
55 | int CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
61 | int CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
56 | int CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
62 | int CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
- | 63 | int CVICALLBACK GoZCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
|
57 | int CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
64 | int CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
58 | int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
65 | int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
59 | int CVICALLBACK OpenMainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
66 | int CVICALLBACK OpenMainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
60 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
67 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
61 | 68 | ||
62 | 69 | ||
63 | #ifdef __cplusplus |
70 | #ifdef __cplusplus |
64 | } |
71 | } |
65 | #endif |
72 | #endif |
66 | 73 |