Subversion Repositories f9daq

Rev

Rev 280 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 280 Rev 297
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  P1                               1
16
#define  P1                               1
17
#define  P1_EXIT                          2       /* control type: command, callback function: ExitCB */
17
#define  P1_EXIT                          2       /* control type: command, callback function: ExitCB */
18
#define  P1_U_4                           3       /* control type: numeric, callback function: (none) */
18
#define  P1_U_4                           3       /* control type: numeric, callback function: (none) */
19
#define  P1_I_4                           4       /* control type: numeric, callback function: (none) */
19
#define  P1_I_4                           4       /* control type: numeric, callback function: (none) */
20
#define  P1_BOX_4                         5       /* control type: radioButton, callback function: SetMaskCB */
20
#define  P1_BOX_4                         5       /* control type: radioButton, callback function: SetMaskCB */
21
#define  P1_U_3                           6       /* control type: numeric, callback function: (none) */
21
#define  P1_U_3                           6       /* control type: numeric, callback function: (none) */
22
#define  P1_IMON_4                        7       /* control type: numeric, callback function: (none) */
22
#define  P1_IMON_4                        7       /* control type: numeric, callback function: (none) */
23
#define  P1_VMON_4                        8       /* control type: numeric, callback function: (none) */
23
#define  P1_VMON_4                        8       /* control type: numeric, callback function: (none) */
24
#define  P1_I_3                           9       /* control type: numeric, callback function: (none) */
24
#define  P1_I_3                           9       /* control type: numeric, callback function: (none) */
25
#define  P1_BOX_3                         10      /* control type: radioButton, callback function: SetMaskCB */
25
#define  P1_BOX_3                         10      /* control type: radioButton, callback function: SetMaskCB */
26
#define  P1_U_2                           11      /* control type: numeric, callback function: (none) */
26
#define  P1_U_2                           11      /* control type: numeric, callback function: (none) */
27
#define  P1_IMON_3                        12      /* control type: numeric, callback function: (none) */
27
#define  P1_IMON_3                        12      /* control type: numeric, callback function: (none) */
28
#define  P1_VMON_3                        13      /* control type: numeric, callback function: (none) */
28
#define  P1_VMON_3                        13      /* control type: numeric, callback function: (none) */
29
#define  P1_I_2                           14      /* control type: numeric, callback function: (none) */
29
#define  P1_I_2                           14      /* control type: numeric, callback function: (none) */
30
#define  P1_BOX_2                         15      /* control type: radioButton, callback function: SetMaskCB */
30
#define  P1_BOX_2                         15      /* control type: radioButton, callback function: SetMaskCB */
31
#define  P1_U_1                           16      /* control type: numeric, callback function: (none) */
31
#define  P1_U_1                           16      /* control type: numeric, callback function: (none) */
32
#define  P1_IMON_2                        17      /* control type: numeric, callback function: (none) */
32
#define  P1_IMON_2                        17      /* control type: numeric, callback function: (none) */
33
#define  P1_VMON_2                        18      /* control type: numeric, callback function: (none) */
33
#define  P1_VMON_2                        18      /* control type: numeric, callback function: (none) */
34
#define  P1_I_1                           19      /* control type: numeric, callback function: (none) */
34
#define  P1_I_1                           19      /* control type: numeric, callback function: (none) */
35
#define  P1_BOX_1                         20      /* control type: radioButton, callback function: SetMaskCB */
35
#define  P1_BOX_1                         20      /* control type: radioButton, callback function: SetMaskCB */
36
#define  P1_READ                          21      /* control type: command, callback function: ReadCB */
36
#define  P1_READ                          21      /* control type: command, callback function: ReadCB */
37
#define  P1_SET                           22      /* control type: command, callback function: SetCB */
37
#define  P1_SET                           22      /* control type: command, callback function: SetCB */
38
#define  P1_IMON_1                        23      /* control type: numeric, callback function: (none) */
38
#define  P1_IMON_1                        23      /* control type: numeric, callback function: (none) */
39
#define  P1_VMON_1                        24      /* control type: numeric, callback function: (none) */
39
#define  P1_VMON_1                        24      /* control type: numeric, callback function: (none) */
40
#define  P1_TIMERON                       25      /* control type: binary, callback function: TimerOnOffCB */
40
#define  P1_TIMERON                       25      /* control type: binary, callback function: TimerOnOffCB */
41
#define  P1_LOG                           26      /* control type: radioButton, callback function: LogToFileCB */
41
#define  P1_LOG                           26      /* control type: radioButton, callback function: LogToFileCB */
42
#define  P1_CVCC_4                        27      /* control type: LED, callback function: (none) */
42
#define  P1_CVCC_4                        27      /* control type: LED, callback function: (none) */
43
#define  P1_CVCC_3                        28      /* control type: LED, callback function: (none) */
43
#define  P1_CVCC_3                        28      /* control type: LED, callback function: (none) */
44
#define  P1_CVCC_2                        29      /* control type: LED, callback function: (none) */
44
#define  P1_CVCC_2                        29      /* control type: LED, callback function: (none) */
45
#define  P1_CVCC_1                        30      /* control type: LED, callback function: (none) */
45
#define  P1_CVCC_1                        30      /* control type: LED, callback function: (none) */
46
#define  P1_TIMER                         31      /* control type: timer, callback function: TimerCB */
46
#define  P1_TIMER                         31      /* control type: timer, callback function: TimerCB */
47
#define  P1_ONOFF                         32      /* control type: binary, callback function: SwitchOnOffCB */
47
#define  P1_ONOFF                         32      /* control type: binary, callback function: SwitchOnOffCB */
48
#define  P1_TINTERVAL                     33      /* control type: numeric, callback function: SetIntervalCB */
48
#define  P1_TINTERVAL                     33      /* control type: numeric, callback function: SetIntervalCB */
-
 
49
#define  P1_PRESET                        34      /* control type: numeric, callback function: SetPresetCB */
-
 
50
#define  P1_GRAPH_IMON                    35      /* control type: strip, callback function: (none) */
49
#define  P1_GRAPH                         34      /* control type: strip, callback function: (none) */
51
#define  P1_GRAPH_VMON                    36      /* control type: strip, callback function: (none) */
50
 
52
 
51
 
53
 
52
     /* Control Arrays: */
54
     /* Control Arrays: */
53
 
55
 
54
          /* (no control arrays in the resource file) */
56
          /* (no control arrays in the resource file) */
55
 
57
 
56
 
58
 
57
     /* Menu Bars, Menus, and Menu Items: */
59
     /* Menu Bars, Menus, and Menu Items: */
58
 
60
 
59
          /* (no menu bars in the resource file) */
61
          /* (no menu bars in the resource file) */
60
 
62
 
61
 
63
 
62
     /* Callback Prototypes: */
64
     /* Callback Prototypes: */
63
 
65
 
64
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
66
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
65
int  CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
67
int  CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
66
int  CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
68
int  CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
67
int  CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
69
int  CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
68
int  CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
70
int  CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
69
int  CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
71
int  CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
72
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);
73
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);
74
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);
75
int  CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
73
 
76
 
74
 
77
 
75
#ifdef __cplusplus
78
#ifdef __cplusplus
76
    }
79
    }
77
#endif
80
#endif
78
 
81