Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
53 | f9daq | 1 | /**************************************************************************/ |
2 | /* LabWindows/CVI User Interface Resource (UIR) Include File */ |
||
3 | /* Copyright (c) National Instruments 2014. All Rights Reserved. */ |
||
4 | /* */ |
||
5 | /* WARNING: Do not add to, delete from, or otherwise modify the contents */ |
||
6 | /* of this include file. */ |
||
7 | /**************************************************************************/ |
||
8 | |||
9 | #include <userint.h> |
||
10 | |||
11 | #ifdef __cplusplus |
||
12 | extern "C" { |
||
13 | #endif |
||
14 | |||
15 | /* Panels and Controls: */ |
||
16 | |||
17 | #define P1 1 |
||
18 | #define P1_OFFSET 2 /* control type: string, callback function: (none) */ |
||
19 | #define P1_DATA 3 /* control type: string, callback function: (none) */ |
||
20 | #define P1_FIRMWARE 4 /* control type: string, callback function: (none) */ |
||
21 | #define P1_WRITECSR 5 /* control type: command, callback function: WriteCSR */ |
||
22 | #define P1_EXECUTE 6 /* control type: command, callback function: Execute */ |
||
23 | #define P1_WRITE 7 /* control type: command, callback function: Write */ |
||
24 | #define P1_READ 8 /* control type: command, callback function: Read */ |
||
25 | #define P1_CHECK 9 /* control type: command, callback function: Check */ |
||
26 | #define P1_ERASE 10 /* control type: command, callback function: Erase */ |
||
27 | #define P1_RESET 11 /* control type: command, callback function: Reset */ |
||
28 | #define P1_HELP 12 /* control type: command, callback function: Help */ |
||
29 | #define P1_START 13 /* control type: command, callback function: Download */ |
||
30 | #define P1_ADDRESS 14 /* control type: string, callback function: Address */ |
||
31 | #define P1_VERBOSE 15 /* control type: radioButton, callback function: Verbose */ |
||
32 | #define P1_COMMANDS 16 /* control type: textBox, callback function: (none) */ |
||
33 | #define P1_RESPONSE 17 /* control type: textBox, callback function: (none) */ |
||
34 | #define P1_MODE 18 /* control type: ring, callback function: (none) */ |
||
35 | #define P1_EXIT 19 /* control type: command, callback function: Exit */ |
||
36 | #define P1_LED 20 /* control type: LED, callback function: LedCB */ |
||
37 | #define P1_FSELECT 21 /* control type: command, callback function: FSelect */ |
||
38 | #define P1_TEXTMSG 22 /* control type: textMsg, callback function: (none) */ |
||
39 | |||
40 | |||
41 | /* Control Arrays: */ |
||
42 | |||
43 | /* (no control arrays in the resource file) */ |
||
44 | |||
45 | |||
46 | /* Menu Bars, Menus, and Menu Items: */ |
||
47 | |||
48 | /* (no menu bars in the resource file) */ |
||
49 | |||
50 | |||
51 | /* Callback Prototypes: */ |
||
52 | |||
53 | int CVICALLBACK Address(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
54 | int CVICALLBACK Check(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
55 | int CVICALLBACK Download(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
56 | int CVICALLBACK Erase(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
57 | int CVICALLBACK Execute(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
58 | int CVICALLBACK Exit(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
59 | int CVICALLBACK FSelect(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
60 | int CVICALLBACK Help(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
61 | int CVICALLBACK LedCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
62 | int CVICALLBACK Read(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
63 | int CVICALLBACK Reset(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
64 | int CVICALLBACK Verbose(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
65 | int CVICALLBACK Write(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
66 | int CVICALLBACK WriteCSR(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); |
||
67 | |||
68 | |||
69 | #ifdef __cplusplus |
||
70 | } |
||
71 | #endif |