Subversion Repositories f9daq

Rev

Rev 217 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 217 Rev 265
Line 15... Line 15...
15
 
15
 
16
#define  PANEL                            1
16
#define  PANEL                            1
17
#define  PANEL_OPENGUI                    2       /* control type: command, callback function: OpenGuiCB */
17
#define  PANEL_OPENGUI                    2       /* control type: command, callback function: OpenGuiCB */
18
#define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
18
#define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
19
#define  PANEL_STOP                       4       /* control type: command, callback function: StopCB */
19
#define  PANEL_STOP                       4       /* control type: command, callback function: StopCB */
-
 
20
#define  PANEL_CALIBRATE                  5       /* control type: command, callback function: CalibrateCB */
20
#define  PANEL_START                      5       /* control type: command, callback function: StartCB */
21
#define  PANEL_START                      6       /* control type: command, callback function: StartCB */
21
#define  PANEL_FILENAME                   6       /* control type: string, callback function: (none) */
22
#define  PANEL_FILENAME                   7       /* control type: string, callback function: (none) */
22
#define  PANEL_TIMER                      7       /* control type: timer, callback function: (none) */
23
#define  PANEL_TIMER                      8       /* control type: timer, callback function: (none) */
23
#define  PANEL_TWIN1                      8       /* control type: numeric, callback function: (none) */
24
#define  PANEL_TWIN1                      9       /* control type: numeric, callback function: (none) */
24
#define  PANEL_TWIN0                      9       /* control type: numeric, callback function: (none) */
25
#define  PANEL_TWIN0                      10      /* control type: numeric, callback function: (none) */
25
#define  PANEL_TRGLEVEL                   10      /* control type: numeric, callback function: (none) */
26
#define  PANEL_TRGLEVEL                   11      /* control type: numeric, callback function: (none) */
26
#define  PANEL_TRGDELAY                   11      /* control type: numeric, callback function: (none) */
27
#define  PANEL_TRGDELAY                   12      /* control type: numeric, callback function: (none) */
27
#define  PANEL_RANGE                      12      /* control type: numeric, callback function: (none) */
28
#define  PANEL_RANGE                      13      /* control type: numeric, callback function: (none) */
28
#define  PANEL_TRGCHANNEL                 13      /* control type: numeric, callback function: (none) */
29
#define  PANEL_TRGCHANNEL                 14      /* control type: numeric, callback function: (none) */
29
#define  PANEL_PFREQ                      14      /* control type: numeric, callback function: (none) */
30
#define  PANEL_PFREQ                      15      /* control type: numeric, callback function: (none) */
30
#define  PANEL_FREQUENCY                  15      /* control type: numeric, callback function: (none) */
31
#define  PANEL_FREQUENCY                  16      /* control type: numeric, callback function: (none) */
31
#define  PANEL_NEVE                       16      /* control type: numeric, callback function: (none) */
32
#define  PANEL_NEVE                       17      /* control type: numeric, callback function: (none) */
32
#define  PANEL_CEVE                       17      /* control type: numeric, callback function: (none) */
33
#define  PANEL_CEVE                       18      /* control type: numeric, callback function: (none) */
33
#define  PANEL_TRGTYPE                    18      /* control type: ring, callback function: (none) */
34
#define  PANEL_TRGTYPE                    19      /* control type: ring, callback function: (none) */
34
#define  PANEL_ENABLEDOUTPUT              19      /* control type: radioButton, callback function: (none) */
35
#define  PANEL_ENABLEDOUTPUT              20      /* control type: radioButton, callback function: (none) */
35
#define  PANEL_DEBUG                      20      /* control type: radioButton, callback function: (none) */
36
#define  PANEL_DEBUG                      21      /* control type: radioButton, callback function: (none) */
36
#define  PANEL_CH3                        21      /* control type: radioButton, callback function: (none) */
37
#define  PANEL_CH3                        22      /* control type: radioButton, callback function: (none) */
37
#define  PANEL_CH2                        22      /* control type: radioButton, callback function: (none) */
38
#define  PANEL_CH2                        23      /* control type: radioButton, callback function: (none) */
38
#define  PANEL_CH1                        23      /* control type: radioButton, callback function: (none) */
39
#define  PANEL_CH1                        24      /* control type: radioButton, callback function: (none) */
39
#define  PANEL_GRAPH                      24      /* control type: graph, callback function: (none) */
40
#define  PANEL_GRAPH                      25      /* control type: graph, callback function: (none) */
40
#define  PANEL_CH0                        25      /* control type: radioButton, callback function: (none) */
41
#define  PANEL_CH0                        26      /* control type: radioButton, callback function: (none) */
41
#define  PANEL_TRGPOLARITY                26      /* control type: binary, callback function: (none) */
42
#define  PANEL_TRGPOLARITY                27      /* control type: binary, callback function: (none) */
42
#define  PANEL_TEXTMSG                    27      /* control type: textMsg, callback function: (none) */
43
#define  PANEL_TEXTMSG                    28      /* control type: textMsg, callback function: (none) */
43
#define  PANEL_STDIO                      28      /* control type: textBox, callback function: (none) */
44
#define  PANEL_STDIO                      29      /* control type: textBox, callback function: (none) */
44
 
45
 
45
#define  SCAN                             2
46
#define  SCAN                             2
46
#define  SCAN_OPENGUI                     2       /* control type: command, callback function: OpenGuiCB */
47
#define  SCAN_OPENGUI                     2       /* control type: command, callback function: OpenGuiCB */
47
#define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
48
#define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
48
#define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
49
#define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
Line 81... Line 82...
81
          /* (no menu bars in the resource file) */
82
          /* (no menu bars in the resource file) */
82
 
83
 
83
 
84
 
84
     /* Callback Prototypes: */
85
     /* Callback Prototypes: */
85
 
86
 
-
 
87
int  CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
86
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
88
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
87
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
89
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
88
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
90
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
89
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
91
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
90
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
92
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);