Rev 212 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 212 | Rev 292 | ||
|---|---|---|---|
| 1 | /**************************************************************************/ |
1 | /**************************************************************************/ |
| 2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
| 3 | /* */ |
3 | /* */ |
| 4 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
4 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
| 5 | /* of this include file. */ |
5 | /* of this include file. */ |
| 6 | /**************************************************************************/ |
6 | /**************************************************************************/ |
| 7 | 7 | ||
| 8 | #include <userint.h> |
8 | #include <userint.h> |
| 9 | 9 | ||
| 10 | #ifdef __cplusplus |
10 | #ifdef __cplusplus |
| 11 | extern "C" { |
11 | extern "C" { |
| 12 | #endif |
12 | #endif |
| 13 | 13 | ||
| 14 | /* Panels and Controls: */ |
14 | /* Panels and Controls: */ |
| 15 | 15 | ||
| 16 | #define AIT 1 |
16 | #define AIT 1 |
| 17 | #define AIT_OPENSCAN 2 /* control type: command, callback function: OpenScanCB */ |
17 | #define AIT_OPENSCAN 2 /* control type: command, callback function: OpenScanCB */ |
| 18 | #define AIT_RESET 3 /* control type: command, callback function: ResetCB */ |
18 | #define AIT_RESET 3 /* control type: command, callback function: ResetCB */ |
| 19 | #define AIT_EXIT 4 /* control type: command, callback function: ExitCB */ |
19 | #define AIT_EXIT 4 /* control type: command, callback function: ExitCB */ |
| 20 | #define AIT_SETADCSUMGAIN 5 /* control type: command, callback function: SetAdcSumGainCB */ |
20 | #define AIT_SETADCSUMGAIN 5 /* control type: command, callback function: SetAdcSumGainCB */ |
| 21 | #define AIT_SETADCGAIN 6 /* control type: command, callback function: SetAdcGainCB */ |
21 | #define AIT_SETADCGAIN 6 /* control type: command, callback function: SetAdcGainCB */ |
| 22 | #define AIT_SETADCINTEGRATIONTIME 7 /* control type: command, callback function: SetAdcIntegrationTimeCB */ |
22 | #define AIT_SETADCINTEGRATIONTIME 7 /* control type: command, callback function: SetAdcIntegrationTimeCB */ |
| 23 | #define AIT_SETADCTHRESHOLD 8 /* control type: command, callback function: SetAdcThresholdCB */ |
23 | #define AIT_SETADCTHRESHOLD 8 /* control type: command, callback function: SetAdcThresholdCB */ |
| 24 | #define AIT_SETBIAS 9 /* control type: command, callback function: SetBiasCB */ |
24 | #define AIT_SETBIAS 9 /* control type: command, callback function: SetBiasCB */ |
| 25 | #define AIT_STOP 10 /* control type: command, callback function: StopCB */ |
25 | #define AIT_STOP 10 /* control type: command, callback function: StopCB */ |
| 26 | #define AIT_QUICKSETUP_3 11 /* control type: command, callback function: QuickCB */ |
26 | #define AIT_QUICKSETUP_3 11 /* control type: command, callback function: QuickCB */ |
| 27 | #define AIT_PATHNAME 12 /* control type: string, callback function: (none) */ |
27 | #define AIT_PATHNAME 12 /* control type: string, callback function: (none) */ |
| 28 | #define AIT_FILENAME 13 /* control type: string, callback function: (none) */ |
28 | #define AIT_FILENAME 13 /* control type: string, callback function: (none) */ |
| 29 | #define AIT_QUICKSETUP_2 14 /* control type: command, callback function: QuickCB */ |
29 | #define AIT_QUICKSETUP_2 14 /* control type: command, callback function: QuickCB */ |
| 30 | #define AIT_PFREQ 15 /* control type: numeric, callback function: (none) */ |
30 | #define AIT_PFREQ 15 /* control type: numeric, callback function: (none) */ |
| 31 | #define AIT_QUICKSETUP_1 16 /* control type: command, callback function: QuickCB */ |
31 | #define AIT_QUICKSETUP_1 16 /* control type: command, callback function: QuickCB */ |
| 32 | #define AIT_INIT 17 /* control type: command, callback function: InitCB */ |
32 | #define AIT_INIT 17 /* control type: command, callback function: InitCB */ |
| 33 | #define AIT_READ 18 /* control type: command, callback function: ReadCB */ |
33 | #define AIT_READ 18 /* control type: command, callback function: ReadCB */ |
| 34 | #define AIT_UPDATEPLOTS 19 /* control type: radioButton, callback function: (none) */ |
34 | #define AIT_UPDATEPLOTS 19 /* control type: radioButton, callback function: (none) */ |
| 35 | #define AIT_LOGY 20 /* control type: radioButton, callback function: (none) */ |
35 | #define AIT_LOGY 20 /* control type: radioButton, callback function: (none) */ |
| 36 | #define AIT_ENABLEDOUTPUT 21 /* control type: radioButton, callback function: (none) */ |
36 | #define AIT_ENABLEDOUTPUT 21 /* control type: radioButton, callback function: (none) */ |
| 37 | #define AIT_DEBUG 22 /* control type: radioButton, callback function: (none) */ |
37 | #define AIT_DEBUG 22 /* control type: radioButton, callback function: (none) */ |
| 38 | #define AIT_START 23 /* control type: command, callback function: StartCB */ |
38 | #define AIT_START 23 /* control type: command, callback function: StartCB */ |
| 39 | #define AIT_MAX 24 /* control type: numeric, callback function: (none) */ |
39 | #define AIT_MAX 24 /* control type: numeric, callback function: (none) */ |
| 40 | #define AIT_CH 25 /* control type: numeric, callback function: ChangeChannelCB */ |
40 | #define AIT_CH 25 /* control type: numeric, callback function: ChangeChannelCB */ |
| 41 | #define AIT_ADCSUMGAIN 26 /* control type: numeric, callback function: (none) */ |
41 | #define AIT_ADCSUMGAIN 26 /* control type: numeric, callback function: (none) */ |
| 42 | #define AIT_NEVE 27 /* control type: numeric, callback function: (none) */ |
42 | #define AIT_NEVE 27 /* control type: numeric, callback function: (none) */ |
| 43 | #define AIT_ADCGAIN 28 /* control type: numeric, callback function: (none) */ |
43 | #define AIT_ADCGAIN 28 /* control type: numeric, callback function: (none) */ |
| 44 | #define AIT_ADCINTEGRATIONTIME 29 /* control type: numeric, callback function: (none) */ |
44 | #define AIT_ADCINTEGRATIONTIME 29 /* control type: numeric, callback function: (none) */ |
| 45 | #define AIT_ADCTHRESHOLD 30 /* control type: numeric, callback function: (none) */ |
45 | #define AIT_ADCTHRESHOLD 30 /* control type: numeric, callback function: (none) */ |
| 46 | #define AIT_XYCUT 31 /* control type: numeric, callback function: (none) */ |
46 | #define AIT_XYCUT 31 /* control type: numeric, callback function: (none) */ |
| 47 | #define AIT_BIAS 32 /* control type: numeric, callback function: (none) */ |
47 | #define AIT_BIAS 32 /* control type: numeric, callback function: (none) */ |
| 48 | #define AIT_GRAPHXY 33 /* control type: graph, callback function: (none) */ |
48 | #define AIT_GRAPHXY 33 /* control type: graph, callback function: (none) */ |
| 49 | #define AIT_GETADCSUMGAIN 34 /* control type: numeric, callback function: (none) */ |
49 | #define AIT_GETADCSUMGAIN 34 /* control type: numeric, callback function: (none) */ |
| 50 | #define AIT_GRAPHSUM 35 /* control type: graph, callback function: (none) */ |
50 | #define AIT_GRAPHSUM 35 /* control type: graph, callback function: (none) */ |
| 51 | #define AIT_GRAPH 36 /* control type: graph, callback function: (none) */ |
51 | #define AIT_GRAPH 36 /* control type: graph, callback function: (none) */ |
| 52 | #define AIT_GETADCGAIN 37 /* control type: numeric, callback function: (none) */ |
52 | #define AIT_GETADCGAIN 37 /* control type: numeric, callback function: (none) */ |
| 53 | #define AIT_GETADCINTEGRATIONTIME 38 /* control type: numeric, callback function: (none) */ |
53 | #define AIT_GETADCINTEGRATIONTIME 38 /* control type: numeric, callback function: (none) */ |
| 54 | #define AIT_GETADCTHRESHOLD 39 /* control type: numeric, callback function: (none) */ |
54 | #define AIT_GETADCTHRESHOLD 39 /* control type: numeric, callback function: (none) */ |
| 55 | #define AIT_BIASMON 40 /* control type: numeric, callback function: (none) */ |
55 | #define AIT_BIASMON 40 /* control type: numeric, callback function: (none) */ |
| 56 | #define AIT_DAQTRANSFERRATE 41 /* control type: numeric, callback function: (none) */ |
56 | #define AIT_DAQTRANSFERRATE 41 /* control type: numeric, callback function: (none) */ |
| 57 | #define AIT_DAQTIMEMS 42 /* control type: numeric, callback function: (none) */ |
57 | #define AIT_DAQTIMEMS 42 /* control type: numeric, callback function: (none) */ |
| 58 | #define AIT_DAQBLOCKSIZE 43 /* control type: numeric, callback function: (none) */ |
58 | #define AIT_DAQBLOCKSIZE 43 /* control type: numeric, callback function: (none) */ |
| 59 | #define AIT_CEVE 44 /* control type: numeric, callback function: (none) */ |
59 | #define AIT_CEVE 44 /* control type: numeric, callback function: (none) */ |
| 60 | #define AIT_STDIO 45 /* control type: textBox, callback function: (none) */ |
60 | #define AIT_STDIO 45 /* control type: textBox, callback function: (none) */ |
| 61 | #define AIT_TIMER 46 /* control type: timer, callback function: SetTimeoutCB */ |
61 | #define AIT_TIMER 46 /* control type: timer, callback function: SetTimeoutCB */ |
| 62 | #define AIT_TRGTYPE 47 /* control type: ring, callback function: SetDiscriminatorTypeCB */ |
62 | #define AIT_TRGTYPE 47 /* control type: ring, callback function: SetDiscriminatorTypeCB */ |
| 63 | #define AIT_RTIMER 48 /* control type: timer, callback function: (none) */ |
63 | #define AIT_RTIMER 48 /* control type: timer, callback function: (none) */ |
| 64 | 64 | ||
| 65 | 65 | ||
| 66 | /* Control Arrays: */ |
66 | /* Control Arrays: */ |
| 67 | 67 | ||
| 68 | /* (no control arrays in the resource file) */ |
68 | /* (no control arrays in the resource file) */ |
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | /* Menu Bars, Menus, and Menu Items: */ |
71 | /* Menu Bars, Menus, and Menu Items: */ |
| 72 | 72 | ||
| 73 | /* (no menu bars in the resource file) */ |
73 | /* (no menu bars in the resource file) */ |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | /* Callback Prototypes: */ |
76 | /* Callback Prototypes: */ |
| 77 | 77 | ||
| 78 | int CVICALLBACK ChangeChannelCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
78 | int CVICALLBACK ChangeChannelCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 79 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
79 | int CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 80 | int CVICALLBACK InitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
80 | int CVICALLBACK InitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 81 | int CVICALLBACK OpenScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
81 | int CVICALLBACK OpenScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 82 | int CVICALLBACK QuickCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
82 | int CVICALLBACK QuickCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 83 | int CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
83 | int CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 84 | int CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
84 | int CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 85 | int CVICALLBACK SetAdcGainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
85 | int CVICALLBACK SetAdcGainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 86 | int CVICALLBACK SetAdcIntegrationTimeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
86 | int CVICALLBACK SetAdcIntegrationTimeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 87 | int CVICALLBACK SetAdcSumGainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
87 | int CVICALLBACK SetAdcSumGainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 88 | int CVICALLBACK SetAdcThresholdCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
88 | int CVICALLBACK SetAdcThresholdCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 89 | int CVICALLBACK SetBiasCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
89 | int CVICALLBACK SetBiasCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 90 | int CVICALLBACK SetDiscriminatorTypeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
90 | int CVICALLBACK SetDiscriminatorTypeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 91 | int CVICALLBACK SetTimeoutCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
91 | int CVICALLBACK SetTimeoutCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 92 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
92 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 93 | int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
93 | int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
| 94 | 94 | ||
| 95 | 95 | ||
| 96 | #ifdef __cplusplus |
96 | #ifdef __cplusplus |
| 97 | } |
97 | } |
| 98 | #endif |
98 | #endif |
| 99 | 99 | ||