Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 49 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | extern "C" { |
12 | extern "C" { |
13 | #endif |
13 | #endif |
14 | 14 | ||
15 | /* Panels and Controls: */ |
15 | /* Panels and Controls: */ |
16 | 16 | ||
17 | #define P1 1 |
17 | #define P1 1 |
18 | #define P1_AMPDISSHTHR 2 |
18 | #define P1_AMPDISSHTHR 2 /* control type: command, callback function: (none) */ |
19 | #define P1_ASD8THR 3 |
19 | #define P1_ASD8THR 3 /* control type: command, callback function: (none) */ |
20 | #define P1_EXIT 4 |
20 | #define P1_EXIT 4 /* control type: command, callback function: (none) */ |
21 | #define P1_ADC 5 |
21 | #define P1_ADC 5 /* control type: graph, callback function: (none) */ |
22 | #define P1_TDC 6 |
22 | #define P1_TDC 6 /* control type: graph, callback function: (none) */ |
23 | #define P1_RESET 7 |
23 | #define P1_RESET 7 /* control type: command, callback function: (none) */ |
24 | #define P1_CEVE 8 |
24 | #define P1_CEVE 8 /* control type: numeric, callback function: (none) */ |
25 | #define P1_NMIN 9 |
25 | #define P1_NMIN 9 /* control type: numeric, callback function: (none) */ |
26 | #define P1_NEVE 10 |
26 | #define P1_NEVE 10 /* control type: numeric, callback function: (none) */ |
27 | #define P1_FRAC 11 |
27 | #define P1_FRAC 11 /* control type: numeric, callback function: (none) */ |
28 | #define P1_TDCMIN 12 |
28 | #define P1_TDCMIN 12 /* control type: numeric, callback function: (none) */ |
29 | #define P1_PEDESTAL 13 |
29 | #define P1_PEDESTAL 13 /* control type: numeric, callback function: (none) */ |
30 | #define P1_ADCHLSAVE 14 |
30 | #define P1_ADCHLSAVE 14 /* control type: binary, callback function: (none) */ |
31 | #define P1_ADCHL 15 |
31 | #define P1_ADCHL 15 /* control type: binary, callback function: (none) */ |
32 | #define P1_ADCLOG 16 |
32 | #define P1_ADCLOG 16 /* control type: binary, callback function: (none) */ |
33 | #define P1_TDCLOG 17 |
33 | #define P1_TDCLOG 17 /* control type: binary, callback function: (none) */ |
34 | #define P1_TDCHL 18 |
34 | #define P1_TDCHL 18 /* control type: binary, callback function: (none) */ |
35 | #define P1_DAQ 19 |
35 | #define P1_DAQ 19 /* control type: textButton, callback function: (none) */ |
36 | #define P1_SUPR 20 |
36 | #define P1_SUPR 20 /* control type: radioButton, callback function: (none) */ |
37 | #define P1_DSAVE 21 |
37 | #define P1_DSAVE 21 /* control type: radioButton, callback function: (none) */ |
38 | #define P1_DFILE 22 |
38 | #define P1_DFILE 22 /* control type: string, callback function: (none) */ |
39 | #define P1_IY 23 |
39 | #define P1_IY 23 /* control type: numeric, callback function: (none) */ |
40 | #define P1_Z 24 |
40 | #define P1_Z 24 /* control type: numeric, callback function: (none) */ |
41 | #define P1_Y 25 |
41 | #define P1_Y 25 /* control type: numeric, callback function: (none) */ |
42 | #define P1_YMIN 26 |
42 | #define P1_YMIN 26 /* control type: numeric, callback function: (none) */ |
43 | #define P1_IX 27 |
43 | #define P1_IX 27 /* control type: numeric, callback function: (none) */ |
44 | #define P1_YSTEP 28 |
44 | #define P1_YSTEP 28 /* control type: numeric, callback function: (none) */ |
45 | #define P1_X 29 |
45 | #define P1_X 29 /* control type: numeric, callback function: (none) */ |
46 | #define P1_NY 30 |
46 | #define P1_NY 30 /* control type: numeric, callback function: (none) */ |
47 | #define P1_ZSET 31 |
47 | #define P1_ZSET 31 /* control type: numeric, callback function: (none) */ |
48 | #define P1_XMIN 32 |
48 | #define P1_XMIN 32 /* control type: numeric, callback function: (none) */ |
49 | #define P1_XSTEP 33 |
49 | #define P1_XSTEP 33 /* control type: numeric, callback function: (none) */ |
50 | #define P1_NX 34 |
50 | #define P1_NX 34 /* control type: numeric, callback function: (none) */ |
51 | #define P1_MGET 35 |
51 | #define P1_MGET 35 /* control type: command, callback function: (none) */ |
52 | #define P1_REREAD 36 |
52 | #define P1_REREAD 36 /* control type: command, callback function: (none) */ |
53 | #define P1_HO 37 |
53 | #define P1_HO 37 /* control type: command, callback function: (none) */ |
54 | #define P1_PLCH 38 |
54 | #define P1_PLCH 38 /* control type: numeric, callback function: (none) */ |
55 | #define P1_NEWF 39 |
55 | #define P1_NEWF 39 /* control type: numeric, callback function: (none) */ |
56 | #define P1_REFON 40 |
56 | #define P1_REFON 40 /* control type: radioButton, callback function: (none) */ |
57 | #define P1_REFRESH 41 |
57 | #define P1_REFRESH 41 /* control type: command, callback function: (none) */ |
58 | #define P1_DEBUG 42 |
58 | #define P1_DEBUG 42 /* control type: radioButton, callback function: (none) */ |
59 | #define P1_SAMPDISSHTHR 43 |
59 | #define P1_SAMPDISSHTHR 43 /* control type: numeric, callback function: (none) */ |
60 | #define P1_SASD8THR 44 |
60 | #define P1_SASD8THR 44 /* control type: numeric, callback function: (none) */ |
- | 61 | #define P1_SBIAS 45 /* control type: numeric, callback function: (none) */ |
|
- | 62 | #define P1_BIAS 46 /* control type: command, callback function: (none) */ |
|
61 | #define P1_TIMER |
63 | #define P1_TIMER 47 /* control type: timer, callback function: cb_timer */ |
62 | #define P1_DECORATION |
64 | #define P1_DECORATION 48 /* control type: deco, callback function: (none) */ |
- | 65 | #define P1_BIASOFF 49 /* control type: command, callback function: (none) */ |
|
- | 66 | #define P1_EXPTIME 50 /* control type: string, callback function: (none) */ |
|
- | 67 | #define P1_FCOUNT 51 /* control type: numeric, callback function: (none) */ |
|
63 | #define P1_TEXTMSG |
68 | #define P1_TEXTMSG 52 /* control type: textMsg, callback function: (none) */ |
64 | #define P1_TEXTMSG_2 |
69 | #define P1_TEXTMSG_2 53 /* control type: textMsg, callback function: (none) */ |
65 | #define P1_TEXTMSG_3 |
70 | #define P1_TEXTMSG_3 54 /* control type: textMsg, callback function: (none) */ |
66 | #define P1_TEXTMSG_4 |
71 | #define P1_TEXTMSG_4 55 /* control type: textMsg, callback function: (none) */ |
67 | #define P1_TEXTMSG_5 |
72 | #define P1_TEXTMSG_5 56 /* control type: textMsg, callback function: (none) */ |
- | 73 | #define P1_TEXTMSG_6 57 /* control type: textMsg, callback function: (none) */ |
|
- | 74 | #define P1_TEXTMSG_7 58 /* control type: textMsg, callback function: (none) */ |
|
- | 75 | #define P1_DECORATION_2 59 /* control type: deco, callback function: (none) */ |
|
- | 76 | #define P1_DECORATION_3 60 /* control type: deco, callback function: (none) */ |
|
- | 77 | ||
- | 78 | ||
- | 79 | /* Control Arrays: */ |
|
- | 80 | ||
- | 81 | /* (no control arrays in the resource file) */ |
|
68 | 82 | ||
69 | 83 | ||
70 | /* Menu Bars, Menus, and Menu Items: */ |
84 | /* Menu Bars, Menus, and Menu Items: */ |
71 | 85 | ||
72 | /* (no menu bars in the resource file) */ |
86 | /* (no menu bars in the resource file) */ |
73 | 87 | ||
74 | 88 | ||
75 | /* Callback Prototypes: */ |
89 | /* Callback Prototypes: */ |
76 | 90 | ||
77 | int CVICALLBACK cb_timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
91 | int CVICALLBACK cb_timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
78 | 92 | ||
79 | 93 | ||
80 | #ifdef __cplusplus |
94 | #ifdef __cplusplus |