Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 147 | 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  PANEL                            1 | 
        ||
| 17 | #define  PANEL_ISET                       2       /* control type: numeric, callback function: (none) */ | 
        ||
| 18 | #define  PANEL_VSET                       3       /* control type: numeric, callback function: (none) */ | 
        ||
| 19 | #define  PANEL_CH_1                       4       /* control type: numeric, callback function: (none) */ | 
        ||
| 20 | #define  PANEL_EXIT                       5       /* control type: command, callback function: ExitCB */ | 
        ||
| 21 | #define  PANEL_STOP                       6       /* control type: command, callback function: StopCB */ | 
        ||
| 22 | #define  PANEL_START                      7       /* control type: command, callback function: StartCB */ | 
        ||
| 23 | #define  PANEL_MPODCHONOFF                8       /* control type: textButton, callback function: MpodChannelsOnOffCB */ | 
        ||
| 24 | #define  PANEL_MPODONOFF                  9       /* control type: textButton, callback function: MpodOnOffCB */ | 
        ||
| 25 | #define  PANEL_TABLE                      10      /* control type: table, callback function: (none) */ | 
        ||
| 26 | #define  PANEL_SET                        11      /* control type: command, callback function: MpodChannelsOutputVoltageCB */ | 
        ||
| 27 | #define  PANEL_GET                        12      /* control type: command, callback function: GetStatus */ | 
        ||
| 28 | |||
| 29 | |||
| 30 |      /* Control Arrays: */ | 
        ||
| 31 | |||
| 32 |           /* (no control arrays in the resource file) */ | 
        ||
| 33 | |||
| 34 | |||
| 35 |      /* Menu Bars, Menus, and Menu Items: */ | 
        ||
| 36 | |||
| 37 |           /* (no menu bars in the resource file) */ | 
        ||
| 38 | |||
| 39 | |||
| 40 |      /* Callback Prototypes: */ | 
        ||
| 41 | |||
| 42 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 43 | int CVICALLBACK GetStatus(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 44 | int CVICALLBACK MpodChannelsOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 45 | int CVICALLBACK MpodChannelsOutputVoltageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 46 | int CVICALLBACK MpodOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 47 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 48 | int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);  | 
        ||
| 49 | |||
| 50 | |||
| 51 | #ifdef __cplusplus | 
        ||
| 52 |     } | 
        ||
| 53 | #endif |