Subversion Repositories f9daq

Rev

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

Rev 198 Rev 203
Line 12... Line 12...
12
#endif
12
#endif
13
 
13
 
14
     /* Panels and Controls: */
14
     /* Panels and Controls: */
15
 
15
 
16
#define  PANEL                            1
16
#define  PANEL                            1
17
#define  PANEL_Exit                       2       /* control type: command, callback function: ExitCB */
17
#define  PANEL_EXIT                       2       /* control type: command, callback function: ExitCB */
18
#define  PANEL_STOP                       3       /* control type: command, callback function: StopCB */
18
#define  PANEL_STOP                       3       /* control type: command, callback function: StopCB */
19
#define  PANEL_START                      4       /* control type: command, callback function: StartCB */
19
#define  PANEL_START                      4       /* control type: command, callback function: StartCB */
20
#define  PANEL_TRGTYPE                    5       /* control type: numeric, callback function: (none) */
20
#define  PANEL_FILENAME                   5       /* control type: string, callback function: (none) */
21
#define  PANEL_TRGLEVEL                   6       /* control type: numeric, callback function: (none) */
21
#define  PANEL_TIMER                      6       /* control type: timer, callback function: (none) */
22
#define  PANEL_TRGDELAY                   7       /* control type: numeric, callback function: (none) */
22
#define  PANEL_TRGLEVEL                   7       /* control type: numeric, callback function: (none) */
23
#define  PANEL_RANGE                      8       /* control type: numeric, callback function: (none) */
23
#define  PANEL_TRGDELAY                   8       /* control type: numeric, callback function: (none) */
24
#define  PANEL_TRGCHANNEL                 9       /* control type: numeric, callback function: (none) */
24
#define  PANEL_RANGE                      9       /* control type: numeric, callback function: (none) */
25
#define  PANEL_CEVE                       10      /* control type: numeric, callback function: (none) */
25
#define  PANEL_TRGCHANNEL                 10      /* control type: numeric, callback function: (none) */
26
#define  PANEL_NEVE                       11      /* control type: numeric, callback function: (none) */
26
#define  PANEL_PFREQ                      11      /* control type: numeric, callback function: (none) */
27
#define  PANEL_FREQUENCY                  12      /* control type: numeric, callback function: (none) */
27
#define  PANEL_FREQUENCY                  12      /* control type: numeric, callback function: (none) */
28
#define  PANEL_TRGPOLARITY                13      /* control type: binary, callback function: (none) */
28
#define  PANEL_NEVE                       13      /* control type: numeric, callback function: (none) */
29
#define  PANEL_MASK                       14      /* control type: string, callback function: (none) */
29
#define  PANEL_CEVE                       14      /* control type: numeric, callback function: (none) */
30
#define  PANEL_FILENAME                   15      /* control type: string, callback function: (none) */
30
#define  PANEL_TRGTYPE                    15      /* control type: ring, callback function: (none) */
31
#define  PANEL_GRAPH                      16      /* control type: graph, callback function: (none) */
31
#define  PANEL_ENABLEDOUTPUT              16      /* control type: radioButton, callback function: (none) */
32
#define  PANEL_DEBUG                      17      /* control type: radioButton, callback function: (none) */
32
#define  PANEL_DEBUG                      17      /* control type: radioButton, callback function: (none) */
-
 
33
#define  PANEL_CH3                        18      /* control type: radioButton, callback function: (none) */
-
 
34
#define  PANEL_CH2                        19      /* control type: radioButton, callback function: (none) */
-
 
35
#define  PANEL_CH1                        20      /* control type: radioButton, callback function: (none) */
33
#define  PANEL_TIMER                      18      /* control type: timer, callback function: (none) */
36
#define  PANEL_GRAPH                      21      /* control type: graph, callback function: (none) */
-
 
37
#define  PANEL_CH0                        22      /* control type: radioButton, callback function: (none) */
-
 
38
#define  PANEL_TRGPOLARITY                23      /* control type: binary, callback function: (none) */
-
 
39
#define  PANEL_TEXTMSG                    24      /* control type: textMsg, callback function: (none) */
-
 
40
 
-
 
41
#define  SCAN                             2
-
 
42
#define  SCAN_BD                          2       /* control type: command, callback function: MoveStageCB */
-
 
43
#define  SCAN_BR                          3       /* control type: command, callback function: MoveStageCB */
-
 
44
#define  SCAN_GETPOSITION                 4       /* control type: command, callback function: GetCurrentPositionCB */
-
 
45
#define  SCAN_SCAN                        5       /* control type: command, callback function: StartCB */
-
 
46
#define  SCAN_BU                          6       /* control type: command, callback function: MoveStageCB */
-
 
47
#define  SCAN_HO                          7       /* control type: command, callback function: HomeCB */
-
 
48
#define  SCAN_BL                          8       /* control type: command, callback function: MoveStageCB */
-
 
49
#define  SCAN_XG                          9       /* control type: numeric, callback function: (none) */
-
 
50
#define  SCAN_YG                          10      /* control type: numeric, callback function: (none) */
-
 
51
#define  SCAN_IX                          11      /* control type: numeric, callback function: (none) */
-
 
52
#define  SCAN_IY                          12      /* control type: numeric, callback function: (none) */
-
 
53
#define  SCAN_NSTEPSX                     13      /* control type: numeric, callback function: (none) */
-
 
54
#define  SCAN_NSTEPSY                     14      /* control type: numeric, callback function: (none) */
-
 
55
#define  SCAN_STEPX                       15      /* control type: numeric, callback function: (none) */
-
 
56
#define  SCAN_STEPY                       16      /* control type: numeric, callback function: (none) */
-
 
57
#define  SCAN_STARTX                      17      /* control type: numeric, callback function: (none) */
-
 
58
#define  SCAN_STARTY                      18      /* control type: numeric, callback function: (none) */
-
 
59
#define  SCAN_XP                          19      /* control type: numeric, callback function: (none) */
-
 
60
#define  SCAN_YP                          20      /* control type: numeric, callback function: (none) */
-
 
61
#define  SCAN_GY                          21      /* control type: command, callback function: GoYCB */
-
 
62
#define  SCAN_GX                          22      /* control type: command, callback function: GoXCB */
-
 
63
#define  SCAN_PORT                        23      /* control type: numeric, callback function: (none) */
34
 
64
 
35
 
65
 
36
     /* Control Arrays: */
66
     /* Control Arrays: */
37
 
67
 
38
          /* (no control arrays in the resource file) */
68
          /* (no control arrays in the resource file) */
Line 44... Line 74...
44
 
74
 
45
 
75
 
46
     /* Callback Prototypes: */
76
     /* Callback Prototypes: */
47
 
77
 
48
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
78
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
79
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
80
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
81
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
82
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
-
 
83
int  CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
49
int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
84
int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
50
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
85
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
51
 
86
 
52
 
87
 
53
#ifdef __cplusplus
88
#ifdef __cplusplus