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