Rev 308 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 308 | Rev 310 | ||
|---|---|---|---|
| Line 31... | Line 31... | ||
| 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) */ |
| Line 55... | Line 57... | ||
| 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); |