Rev 210 | Rev 265 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 210 | Rev 217 | ||
---|---|---|---|
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_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */ |
|
17 | #define PANEL_EXIT |
18 | #define PANEL_EXIT 3 /* control type: command, callback function: ExitCB */ |
18 | #define PANEL_STOP |
19 | #define PANEL_STOP 4 /* control type: command, callback function: StopCB */ |
19 | #define PANEL_START |
20 | #define PANEL_START 5 /* control type: command, callback function: StartCB */ |
20 | #define PANEL_FILENAME |
21 | #define PANEL_FILENAME 6 /* control type: string, callback function: (none) */ |
21 | #define PANEL_TIMER |
22 | #define PANEL_TIMER 7 /* control type: timer, callback function: (none) */ |
- | 23 | #define PANEL_TWIN1 8 /* control type: numeric, callback function: (none) */ |
|
- | 24 | #define PANEL_TWIN0 9 /* control type: numeric, callback function: (none) */ |
|
22 | #define PANEL_TRGLEVEL |
25 | #define PANEL_TRGLEVEL 10 /* control type: numeric, callback function: (none) */ |
23 | #define PANEL_TRGDELAY |
26 | #define PANEL_TRGDELAY 11 /* control type: numeric, callback function: (none) */ |
24 | #define PANEL_RANGE |
27 | #define PANEL_RANGE 12 /* control type: numeric, callback function: (none) */ |
25 | #define PANEL_TRGCHANNEL |
28 | #define PANEL_TRGCHANNEL 13 /* control type: numeric, callback function: (none) */ |
26 | #define PANEL_PFREQ |
29 | #define PANEL_PFREQ 14 /* control type: numeric, callback function: (none) */ |
27 | #define PANEL_FREQUENCY |
30 | #define PANEL_FREQUENCY 15 /* control type: numeric, callback function: (none) */ |
28 | #define PANEL_NEVE |
31 | #define PANEL_NEVE 16 /* control type: numeric, callback function: (none) */ |
29 | #define PANEL_CEVE |
32 | #define PANEL_CEVE 17 /* control type: numeric, callback function: (none) */ |
30 | #define PANEL_TRGTYPE |
33 | #define PANEL_TRGTYPE 18 /* control type: ring, callback function: (none) */ |
31 | #define PANEL_ENABLEDOUTPUT |
34 | #define PANEL_ENABLEDOUTPUT 19 /* control type: radioButton, callback function: (none) */ |
32 | #define PANEL_DEBUG |
35 | #define PANEL_DEBUG 20 /* control type: radioButton, callback function: (none) */ |
33 | #define PANEL_CH3 |
36 | #define PANEL_CH3 21 /* control type: radioButton, callback function: (none) */ |
34 | #define PANEL_CH2 |
37 | #define PANEL_CH2 22 /* control type: radioButton, callback function: (none) */ |
35 | #define PANEL_CH1 |
38 | #define PANEL_CH1 23 /* control type: radioButton, callback function: (none) */ |
36 | #define PANEL_GRAPH |
39 | #define PANEL_GRAPH 24 /* control type: graph, callback function: (none) */ |
37 | #define PANEL_CH0 |
40 | #define PANEL_CH0 25 /* control type: radioButton, callback function: (none) */ |
38 | #define PANEL_TRGPOLARITY |
41 | #define PANEL_TRGPOLARITY 26 /* control type: binary, callback function: (none) */ |
39 | #define PANEL_TEXTMSG |
42 | #define PANEL_TEXTMSG 27 /* control type: textMsg, callback function: (none) */ |
40 | #define PANEL_STDIO |
43 | #define PANEL_STDIO 28 /* control type: textBox, callback function: (none) */ |
41 | 44 | ||
42 | #define SCAN 2 |
45 | #define SCAN 2 |
- | 46 | #define SCAN_OPENGUI 2 /* control type: command, callback function: OpenGuiCB */ |
|
43 | #define SCAN_BD |
47 | #define SCAN_BD 3 /* control type: command, callback function: MoveStageCB */ |
44 | #define SCAN_BR |
48 | #define SCAN_BR 4 /* control type: command, callback function: MoveStageCB */ |
45 | #define SCAN_GETPOSITION |
49 | #define SCAN_GETPOSITION 5 /* control type: command, callback function: GetCurrentPositionCB */ |
- | 50 | #define SCAN_FILENAME 6 /* control type: string, callback function: (none) */ |
|
46 | #define SCAN_SCAN |
51 | #define SCAN_SCAN 7 /* control type: command, callback function: StartCB */ |
47 | #define SCAN_BU |
52 | #define SCAN_BU 8 /* control type: command, callback function: MoveStageCB */ |
48 | #define SCAN_HO |
53 | #define SCAN_HO 9 /* control type: command, callback function: HomeCB */ |
49 | #define SCAN_BL |
54 | #define SCAN_BL 10 /* control type: command, callback function: MoveStageCB */ |
50 | #define SCAN_XG |
55 | #define SCAN_XG 11 /* control type: numeric, callback function: (none) */ |
51 | #define SCAN_YG |
56 | #define SCAN_YG 12 /* control type: numeric, callback function: (none) */ |
52 | #define SCAN_IX |
57 | #define SCAN_IX 13 /* control type: numeric, callback function: (none) */ |
53 | #define SCAN_IY |
58 | #define SCAN_IY 14 /* control type: numeric, callback function: (none) */ |
54 | #define SCAN_NSTEPSX |
59 | #define SCAN_NSTEPSX 15 /* control type: numeric, callback function: (none) */ |
55 | #define SCAN_NSTEPSY |
60 | #define SCAN_NSTEPSY 16 /* control type: numeric, callback function: (none) */ |
56 | #define SCAN_STEPX |
61 | #define SCAN_STEPX 17 /* control type: numeric, callback function: (none) */ |
57 | #define SCAN_STEPY |
62 | #define SCAN_STEPY 18 /* control type: numeric, callback function: (none) */ |
58 | #define SCAN_STARTX |
63 | #define SCAN_STARTX 19 /* control type: numeric, callback function: (none) */ |
59 | #define SCAN_STARTY |
64 | #define SCAN_STARTY 20 /* control type: numeric, callback function: (none) */ |
60 | #define SCAN_XP |
65 | #define SCAN_XP 21 /* control type: numeric, callback function: (none) */ |
61 | #define SCAN_YP |
66 | #define SCAN_YP 22 /* control type: numeric, callback function: (none) */ |
- | 67 | #define SCAN_GRAPH 23 /* control type: graph, callback function: (none) */ |
|
62 | #define SCAN_GY |
68 | #define SCAN_GY 24 /* control type: command, callback function: GoYCB */ |
63 | #define SCAN_GX |
69 | #define SCAN_GX 25 /* control type: command, callback function: GoXCB */ |
64 | #define SCAN_PORT |
70 | #define SCAN_PORT 26 /* control type: numeric, callback function: (none) */ |
- | 71 | #define SCAN_CHANNEL 27 /* control type: numeric, callback function: PlotScanHistogramCB */ |
|
65 | 72 | ||
66 | 73 | ||
67 | /* Control Arrays: */ |
74 | /* Control Arrays: */ |
68 | 75 | ||
69 | /* (no control arrays in the resource file) */ |
76 | /* (no control arrays in the resource file) */ |
Line 80... | Line 87... | ||
80 | int CVICALLBACK GetCurrentPositionCB(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); |
81 | int CVICALLBACK GoXCB(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); |
82 | int CVICALLBACK GoYCB(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); |
83 | int CVICALLBACK HomeCB(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); |
84 | int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
91 | int CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
- | 92 | int CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
|
- | 93 | int CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
|
85 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
94 | int CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
86 | int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
95 | int CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
87 | 96 | ||
88 | 97 | ||
89 | #ifdef __cplusplus |
98 | #ifdef __cplusplus |