Subversion Repositories f9daq

Rev

Rev 53 | Details | Compare with Previous | Last modification | View Log | RSS feed

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