Subversion Repositories f9daq

Rev

Rev 217 | Go to most recent revision | 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       /* control type: command, callback function: OpenGuiCB */
#define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
#define  PANEL_STOP                       4       /* control type: command, callback function: StopCB */
#define  PANEL_CALIBRATE                  5       /* control type: command, callback function: CalibrateCB */
#define  PANEL_START                      6       /* control type: command, callback function: StartCB */
#define  PANEL_FILENAME                   7       /* control type: string, callback function: (none) */
#define  PANEL_TIMER                      8       /* control type: timer, callback function: (none) */
#define  PANEL_TWIN1                      9       /* control type: numeric, callback function: (none) */
#define  PANEL_TWIN0                      10      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGLEVEL                   11      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGDELAY                   12      /* control type: numeric, callback function: (none) */
#define  PANEL_RANGE                      13      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGCHANNEL                 14      /* control type: numeric, callback function: (none) */
#define  PANEL_PFREQ                      15      /* control type: numeric, callback function: (none) */
#define  PANEL_FREQUENCY                  16      /* control type: numeric, callback function: (none) */
#define  PANEL_NEVE                       17      /* control type: numeric, callback function: (none) */
#define  PANEL_CEVE                       18      /* control type: numeric, callback function: (none) */
#define  PANEL_TRGTYPE                    19      /* control type: ring, callback function: (none) */
#define  PANEL_ENABLEDOUTPUT              20      /* control type: radioButton, callback function: (none) */
#define  PANEL_DEBUG                      21      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH3                        22      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH2                        23      /* control type: radioButton, callback function: (none) */
#define  PANEL_CH1                        24      /* control type: radioButton, callback function: (none) */
#define  PANEL_GRAPH                      25      /* control type: graph, callback function: (none) */
#define  PANEL_CH0                        26      /* control type: radioButton, callback function: (none) */
#define  PANEL_TRGPOLARITY                27      /* control type: binary, callback function: (none) */
#define  PANEL_TEXTMSG                    28      /* control type: textMsg, callback function: (none) */
#define  PANEL_STDIO                      29      /* control type: textBox, callback function: (none) */

#define  SCAN                             2
#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 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 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 PlotScanHistogramCB(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);


#ifdef __cplusplus
    }
#endif