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