Subversion Repositories f9daq

Rev

Rev 265 | Blame | Compare with Previous | Last modification | View Log | RSS feed

/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/*                                                                        */
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */
/*          of this include file.                                         */
/**************************************************************************/

#include <userint.h>

#ifdef __cplusplus
    extern "C" {
#endif

     /* Panels and Controls: */

#define  PANEL                            1
#define  PANEL_OPENGUI_2                  2       /* control type: command, callback function: OpenQdcCB */
#define  PANEL_OPENGUI                    3       /* control type: command, callback function: OpenGuiCB */
#define  PANEL_EXIT                       4       /* control type: command, callback function: ExitCB */
#define  PANEL_STOP                       5       /* control type: command, callback function: StopCB */
#define  PANEL_ACQUIRE                    6       /* control type: command, callback function: StartCB */
#define  PANEL_TEMPTABLE                  7       /* control type: command, callback function: TempTableCB */
#define  PANEL_ANA                        8       /* control type: command, callback function: ExecRootCB */
#define  PANEL_CALIBRATE                  9       /* control type: command, callback function: CalibrateCB */
#define  PANEL_SETVOLTAGE                 10      /* control type: command, callback function: SetVoltageCB */
#define  PANEL_START                      11      /* control type: command, callback function: StartCB */
#define  PANEL_PATH                       12      /* control type: string, callback function: (none) */
#define  PANEL_FILENAME                   13      /* control type: string, callback function: (none) */
#define  PANEL_TIMER                      14      /* control type: timer, callback function: (none) */
#define  PANEL_SCALE_4                    15      /* control type: numeric, callback function: ScaleCB */
#define  PANEL_DISCONNECT                 16      /* control type: command, callback function: DisconnectCB */
#define  PANEL_ONOFF                      17      /* control type: binary, callback function: SwitchOnOffCB */
#define  PANEL_TSCAN                      18      /* control type: command, callback function: TScanCB */
#define  PANEL_CONNECT                    19      /* control type: command, callback function: ConnectCB */
#define  PANEL_SCALE_3                    20      /* control type: numeric, callback function: ScaleCB */
#define  PANEL_SCALE_2                    21      /* control type: numeric, callback function: ScaleCB */
#define  PANEL_SCALE_1                    22      /* control type: numeric, callback function: ScaleCB */
#define  PANEL_TRGLEVEL                   23      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGDELAY                   24      /* control type: numeric, callback function: (none) */
#define  PANEL_RANGE                      25      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGCHANNEL                 26      /* control type: numeric, callback function: (none) */
#define  PANEL_PFREQ                      27      /* control type: numeric, callback function: (none) */
#define  PANEL_FREQUENCY                  28      /* control type: numeric, callback function: (none) */
#define  PANEL_VBR                        29      /* control type: numeric, callback function: (none) */
#define  PANEL_NEVE                       30      /* control type: numeric, callback function: (none) */
#define  PANEL_CEVE                       31      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGTYPE                    32      /* control type: ring, callback function: (none) */
#define  PANEL_ENABLEDOUTPUT              33      /* control type: radioButton, callback function: (none) */
#define  PANEL_DEBUG                      34      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH3                        35      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH2                        36      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH1                        37      /* control type: radioButton, callback function: (none) */
#define  PANEL_GRAPH                      38      /* control type: graph, callback function: (none) */
#define  PANEL_TIME                       39      /* control type: string, callback function: (none) */
#define  PANEL_CH0                        40      /* control type: radioButton, callback function: (none) */
#define  PANEL_TRGPOLARITY                41      /* control type: binary, callback function: (none) */
#define  PANEL_TEXTMSG                    42      /* control type: textMsg, callback function: (none) */
#define  PANEL_STDIO                      43      /* control type: textBox, callback function: (none) */
#define  PANEL_LED                        44      /* control type: LED, callback function: (none) */
#define  PANEL_TMON                       45      /* control type: numeric, callback function: (none) */
#define  PANEL_HUMIDITY                   46      /* control type: numeric, callback function: (none) */
#define  PANEL_VTABLE                     47      /* control type: table, callback function: (none) */
#define  PANEL_TABLE                      48      /* control type: table, callback function: (none) */

#define  QDC                              2
#define  QDC_REDRAW                       2       /* control type: command, callback function: PlotQdcHistogramCB */
#define  QDC_OPENGUI_2                    3       /* control type: command, callback function: OpenQdcCB */
#define  QDC_GRAPH_4                      4       /* control type: graph, callback function: (none) */
#define  QDC_GRAPH_3                      5       /* control type: graph, callback function: (none) */
#define  QDC_GRAPH_2                      6       /* control type: graph, callback function: (none) */
#define  QDC_GRAPH_1                      7       /* control type: graph, callback function: (none) */
#define  QDC_INIT_4                       8       /* control type: command, callback function: InitQdcHistogramCB */
#define  QDC_INIT_3                       9       /* control type: command, callback function: InitQdcHistogramCB */
#define  QDC_INIT_2                       10      /* control type: command, callback function: InitQdcHistogramCB */
#define  QDC_INIT_1                       11      /* control type: command, callback function: InitQdcHistogramCB */
#define  QDC_TWIN0_4                      12      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN1_4                      13      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN0_3                      14      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN1_3                      15      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN0_2                      16      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN1_2                      17      /* control type: numeric, callback function: (none) */
#define  QDC_NBIN_4                       18      /* control type: numeric, callback function: (none) */
#define  QDC_MAX_4                        19      /* control type: numeric, callback function: (none) */
#define  QDC_MIN_4                        20      /* control type: numeric, callback function: (none) */
#define  QDC_NBIN_3                       21      /* control type: numeric, callback function: (none) */
#define  QDC_ACTIVE_4                     22      /* control type: radioButton, callback function: SetActiveCB */
#define  QDC_ACTIVE_3                     23      /* control type: radioButton, callback function: SetActiveCB */
#define  QDC_ACTIVE_2                     24      /* control type: radioButton, callback function: SetActiveCB */
#define  QDC_LOGY                         25      /* control type: radioButton, callback function: LogScaleCB */
#define  QDC_WFM                          26      /* control type: radioButton, callback function: (none) */
#define  QDC_ACTIVE_1                     27      /* control type: radioButton, callback function: SetActiveCB */
#define  QDC_MAX_3                        28      /* control type: numeric, callback function: (none) */
#define  QDC_MIN_3                        29      /* control type: numeric, callback function: (none) */
#define  QDC_NBIN_2                       30      /* control type: numeric, callback function: (none) */
#define  QDC_MAX_2                        31      /* control type: numeric, callback function: (none) */
#define  QDC_MIN_2                        32      /* control type: numeric, callback function: (none) */
#define  QDC_NBIN_1                       33      /* control type: numeric, callback function: (none) */
#define  QDC_MAX_1                        34      /* control type: numeric, callback function: (none) */
#define  QDC_MIN_1                        35      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN0_1                      36      /* control type: numeric, callback function: (none) */
#define  QDC_TWIN1_1                      37      /* control type: numeric, callback function: (none) */

#define  SCAN                             3
#define  SCAN_OPENGUI                     2       /* control type: command, callback function: OpenGuiCB */
#define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
#define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
#define  SCAN_GETPOSITION                 5       /* control type: command, callback function: GetCurrentPositionCB */
#define  SCAN_FILENAME                    6       /* control type: string, callback function: (none) */
#define  SCAN_SCAN                        7       /* control type: command, callback function: StartCB */
#define  SCAN_BU                          8       /* control type: command, callback function: MoveStageCB */
#define  SCAN_HO                          9       /* control type: command, callback function: HomeCB */
#define  SCAN_BL                          10      /* control type: command, callback function: MoveStageCB */
#define  SCAN_XG                          11      /* control type: numeric, callback function: (none) */
#define  SCAN_YG                          12      /* control type: numeric, callback function: (none) */
#define  SCAN_IX                          13      /* control type: numeric, callback function: (none) */
#define  SCAN_IY                          14      /* control type: numeric, callback function: (none) */
#define  SCAN_NSTEPSX                     15      /* control type: numeric, callback function: (none) */
#define  SCAN_NSTEPSY                     16      /* control type: numeric, callback function: (none) */
#define  SCAN_STEPX                       17      /* control type: numeric, callback function: (none) */
#define  SCAN_STEPY                       18      /* control type: numeric, callback function: (none) */
#define  SCAN_STARTX                      19      /* control type: numeric, callback function: (none) */
#define  SCAN_STARTY                      20      /* control type: numeric, callback function: (none) */
#define  SCAN_XP                          21      /* control type: numeric, callback function: (none) */
#define  SCAN_YP                          22      /* control type: numeric, callback function: (none) */
#define  SCAN_GRAPH                       23      /* control type: graph, callback function: (none) */
#define  SCAN_GY                          24      /* control type: command, callback function: GoYCB */
#define  SCAN_GX                          25      /* control type: command, callback function: GoXCB */
#define  SCAN_PORT                        26      /* control type: numeric, callback function: (none) */
#define  SCAN_CHANNEL                     27      /* control type: numeric, callback function: PlotScanHistogramCB */


     /* Control Arrays: */

          /* (no control arrays in the resource file) */


     /* Menu Bars, Menus, and Menu Items: */

          /* (no menu bars in the resource file) */


     /* Callback Prototypes: */

int  CVICALLBACK CalibrateCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ConnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK DisconnectCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ExecRootCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK InitQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK LogScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK OpenGuiCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK OpenQdcCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK PlotQdcHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK PlotScanHistogramCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ScaleCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK SetActiveCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK SetVoltageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK TempTableCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK TScanCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif