Subversion Repositories f9daq

Rev

Rev 281 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 281 Rev 304
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_TEST                          2       /* control type: command, callback function: TestCB */
17
#define  P1_TEST                          2       /* control type: command, callback function: TestCB */
18
#define  P1_EXIT                          3       /* control type: command, callback function: ExitCB */
18
#define  P1_EXIT                          3       /* control type: command, callback function: ExitCB */
19
#define  P1_U_1                           4       /* control type: numeric, callback function: (none) */
19
#define  P1_U_1                           4       /* control type: numeric, callback function: (none) */
20
#define  P1_I_1                           5       /* control type: numeric, callback function: (none) */
20
#define  P1_I_1                           5       /* control type: numeric, callback function: (none) */
21
#define  P1_BOX_1                         6       /* control type: radioButton, callback function: SetMaskCB */
21
#define  P1_BOX_1                         6       /* control type: radioButton, callback function: SetMaskCB */
22
#define  P1_READ                          7       /* control type: command, callback function: ReadCB */
22
#define  P1_READ                          7       /* control type: command, callback function: ReadCB */
23
#define  P1_SET                           8       /* control type: command, callback function: SetCB */
23
#define  P1_SET                           8       /* control type: command, callback function: SetCB */
24
#define  P1_IMON_1                        9       /* control type: numeric, callback function: (none) */
24
#define  P1_IMON_1                        9       /* control type: numeric, callback function: (none) */
25
#define  P1_VMON_1                        10      /* control type: numeric, callback function: (none) */
25
#define  P1_VMON_1                        10      /* control type: numeric, callback function: (none) */
26
#define  P1_TIMERON                       11      /* control type: binary, callback function: TimerOnOffCB */
26
#define  P1_TIMERON                       11      /* control type: binary, callback function: TimerOnOffCB */
27
#define  P1_LOG                           12      /* control type: radioButton, callback function: LogToFileCB */
27
#define  P1_LOG                           12      /* control type: radioButton, callback function: LogToFileCB */
28
#define  P1_CVCC_1                        13      /* control type: LED, callback function: (none) */
28
#define  P1_CVCC_1                        13      /* control type: LED, callback function: (none) */
29
#define  P1_TIMER                         14      /* control type: timer, callback function: TimerCB */
29
#define  P1_TIMER                         14      /* control type: timer, callback function: TimerCB */
30
#define  P1_ONOFF                         15      /* control type: binary, callback function: SwitchOnOffCB */
30
#define  P1_ONOFF                         15      /* control type: binary, callback function: SwitchOnOffCB */
31
#define  P1_TINTERVAL                     16      /* control type: numeric, callback function: SetIntervalCB */
31
#define  P1_TINTERVAL                     16      /* control type: numeric, callback function: SetIntervalCB */
32
#define  P1_GRAPH_1                       17      /* control type: strip, callback function: (none) */
32
#define  P1_GRAPH_1                       17      /* control type: strip, callback function: (none) */
33
#define  P1_GRAPH                         18      /* control type: strip, callback function: (none) */
33
#define  P1_GRAPH                         18      /* control type: strip, callback function: (none) */
34
 
34
 
35
#define  P2                               2
35
#define  P2                               2
36
#define  P2_DRAW                          2       /* control type: command, callback function: DrawCB */
36
#define  P2_DRAW                          2       /* control type: command, callback function: DrawCB */
-
 
37
#define  P2_EXIT                          3       /* control type: command, callback function: ExitCB */
37
#define  P2_EXIT_2                        3       /* control type: command, callback function: Exit2CB */
38
#define  P2_EXIT_2                        4       /* control type: command, callback function: Exit2CB */
38
#define  P2_STOP                          4       /* control type: command, callback function: StopCB */
39
#define  P2_STOP                          5       /* control type: command, callback function: StopCB */
-
 
40
#define  P2_HUMIDITY                      6       /* control type: numeric, callback function: (none) */
-
 
41
#define  P2_TMON                          7       /* control type: numeric, callback function: (none) */
39
#define  P2_GRAPHIV                       5       /* control type: graph, callback function: (none) */
42
#define  P2_GRAPHIV                       8       /* control type: graph, callback function: (none) */
40
#define  P2_SETVOLT                       6       /* control type: command, callback function: SETVOLTCB */
43
#define  P2_SETVOLT                       9       /* control type: command, callback function: SETVOLTCB */
-
 
44
#define  P2_DISCONNECT                    10      /* control type: command, callback function: DisconnectCB */
-
 
45
#define  P2_CONNECT                       11      /* control type: command, callback function: ConnectCB */
-
 
46
#define  P2_TSCAN                         12      /* control type: command, callback function: TScanCB */
41
#define  P2_IVSCAN                        7       /* control type: command, callback function: IVSCANCB */
47
#define  P2_IVSCAN                        13      /* control type: command, callback function: IVSCANCB */
42
#define  P2_UMAX_4                        8       /* control type: numeric, callback function: (none) */
48
#define  P2_UMAX_4                        14      /* control type: numeric, callback function: (none) */
43
#define  P2_UMIN_4                        9       /* control type: numeric, callback function: (none) */
49
#define  P2_UMIN_4                        15      /* control type: numeric, callback function: (none) */
44
#define  P2_NSTEPS_4                      10      /* control type: numeric, callback function: (none) */
50
#define  P2_NSTEPS_4                      16      /* control type: numeric, callback function: (none) */
45
#define  P2_UMAX_3                        11      /* control type: numeric, callback function: (none) */
51
#define  P2_UMAX_3                        17      /* control type: numeric, callback function: (none) */
46
#define  P2_UMIN_3                        12      /* control type: numeric, callback function: (none) */
52
#define  P2_UMIN_3                        18      /* control type: numeric, callback function: (none) */
47
#define  P2_NSTEPS_3                      13      /* control type: numeric, callback function: (none) */
53
#define  P2_NSTEPS_3                      19      /* control type: numeric, callback function: (none) */
48
#define  P2_RANGE_4                       14      /* control type: ring, callback function: (none) */
54
#define  P2_RANGE_4                       20      /* control type: ring, callback function: (none) */
49
#define  P2_SLCT_4                        15      /* control type: radioButton, callback function: (none) */
55
#define  P2_SLCT_4                        21      /* control type: radioButton, callback function: (none) */
50
#define  P2_UMAX_2                        16      /* control type: numeric, callback function: (none) */
56
#define  P2_UMAX_2                        22      /* control type: numeric, callback function: (none) */
51
#define  P2_UMIN_2                        17      /* control type: numeric, callback function: (none) */
57
#define  P2_UMIN_2                        23      /* control type: numeric, callback function: (none) */
52
#define  P2_NSTEPS_2                      18      /* control type: numeric, callback function: (none) */
58
#define  P2_NSTEPS_2                      24      /* control type: numeric, callback function: (none) */
53
#define  P2_RANGE_3                       19      /* control type: ring, callback function: (none) */
59
#define  P2_RANGE_3                       25      /* control type: ring, callback function: (none) */
54
#define  P2_SLCT_3                        20      /* control type: radioButton, callback function: (none) */
60
#define  P2_SLCT_3                        26      /* control type: radioButton, callback function: (none) */
55
#define  P2_UMAX_1                        21      /* control type: numeric, callback function: (none) */
61
#define  P2_UMAX_1                        27      /* control type: numeric, callback function: (none) */
56
#define  P2_UMIN_1                        22      /* control type: numeric, callback function: (none) */
62
#define  P2_UMIN_1                        28      /* control type: numeric, callback function: (none) */
57
#define  P2_NSTEPS_1                      23      /* control type: numeric, callback function: (none) */
63
#define  P2_NSTEPS_1                      29      /* control type: numeric, callback function: (none) */
58
#define  P2_RANGE_2                       24      /* control type: ring, callback function: (none) */
64
#define  P2_RANGE_2                       30      /* control type: ring, callback function: (none) */
59
#define  P2_SLCT_2                        25      /* control type: radioButton, callback function: (none) */
65
#define  P2_SLCT_2                        31      /* control type: radioButton, callback function: (none) */
60
#define  P2_FILENAME                      26      /* control type: string, callback function: (none) */
66
#define  P2_TIME                          32      /* control type: string, callback function: (none) */
61
#define  P2_PATH                          27      /* control type: string, callback function: (none) */
67
#define  P2_FILENAME                      33      /* control type: string, callback function: (none) */
62
#define  P2_VOLT                          28      /* control type: ring, callback function: (none) */
68
#define  P2_PATH                          34      /* control type: string, callback function: (none) */
63
#define  P2_RANGE_1                       29      /* control type: ring, callback function: (none) */
69
#define  P2_RANGE_1                       35      /* control type: ring, callback function: (none) */
64
#define  P2_SLCT_1                        30      /* control type: radioButton, callback function: (none) */
70
#define  P2_SLCT_1                        36      /* control type: radioButton, callback function: (none) */
65
#define  P2_DEBUG                         31      /* control type: radioButton, callback function: DebugCB */
71
#define  P2_DEBUG                         37      /* control type: radioButton, callback function: DebugCB */
-
 
72
#define  P2_REPEAT                        38      /* control type: radioButton, callback function: (none) */
66
#define  P2_LOGSCALE                      32      /* control type: radioButton, callback function: LogScaleCB */
73
#define  P2_LOGSCALE                      39      /* control type: radioButton, callback function: LogScaleCB */
67
#define  P2_PRINTX                        33      /* control type: command, callback function: Print */
74
#define  P2_PRINTX                        40      /* control type: command, callback function: Print */
-
 
75
#define  P2_NEXTSCAN                      41      /* control type: numeric, callback function: (none) */
-
 
76
#define  P2_VCUR                          42      /* control type: numeric, callback function: (none) */
68
#define  P2_VMON                          34      /* control type: numeric, callback function: (none) */
77
#define  P2_VMON                          43      /* control type: numeric, callback function: (none) */
69
 
-
 
-
 
78
#define  P2_VOLT                          44      /* control type: numeric, callback function: (none) */
70
#define  PANEL                            3
79
#define  P2_DELAY2                        45      /* control type: numeric, callback function: (none) */
-
 
80
#define  P2_PERIOD                        46      /* control type: numeric, callback function: (none) */
71
#define  PANEL_COMMANDBUTTON              2       /* control type: command, callback function: StartTest */
81
#define  P2_DELAY                         47      /* control type: numeric, callback function: (none) */
-
 
82
#define  P2_TABLE                         48      /* control type: table, callback function: (none) */
-
 
83
#define  P2_LED                           49      /* control type: LED, callback function: (none) */
72
 
84
 
73
 
85
 
74
     /* Control Arrays: */
86
     /* Control Arrays: */
75
 
87
 
76
          /* (no control arrays in the resource file) */
88
          /* (no control arrays in the resource file) */
77
 
89
 
78
 
90
 
79
     /* Menu Bars, Menus, and Menu Items: */
91
     /* Menu Bars, Menus, and Menu Items: */
80
 
92
 
81
          /* (no menu bars in the resource file) */
93
          /* (no menu bars in the resource file) */
82
 
94
 
83
 
95
 
84
     /* Callback Prototypes: */
96
     /* Callback Prototypes: */
85
 
97
 
-
 
98
int  CVICALLBACK ConnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
86
int  CVICALLBACK DebugCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
99
int  CVICALLBACK DebugCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
100
int  CVICALLBACK DisconnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
87
int  CVICALLBACK DrawCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
101
int  CVICALLBACK DrawCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
88
int  CVICALLBACK Exit2CB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
102
int  CVICALLBACK Exit2CB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
89
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
103
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
90
int  CVICALLBACK IVSCANCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
104
int  CVICALLBACK IVSCANCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
91
int  CVICALLBACK LogScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
105
int  CVICALLBACK LogScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
92
int  CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
106
int  CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
93
int  CVICALLBACK Print(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
107
int  CVICALLBACK Print(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
94
int  CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
108
int  CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
95
int  CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
109
int  CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
96
int  CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
110
int  CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
97
int  CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
111
int  CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
98
int  CVICALLBACK SETVOLTCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
112
int  CVICALLBACK SETVOLTCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
99
int  CVICALLBACK StartTest(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
100
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
113
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
101
int  CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
114
int  CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
102
int  CVICALLBACK TestCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
115
int  CVICALLBACK TestCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
103
int  CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
116
int  CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
104
int  CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
117
int  CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
118
int  CVICALLBACK TScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
105
 
119
 
106
 
120
 
107
#ifdef __cplusplus
121
#ifdef __cplusplus
108
    }
122
    }
109
#endif
123
#endif
110
 
124