Subversion Repositories f9daq

Rev

Rev 263 | 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_HRESET                     2       /* control type: command, callback function: ResetCB */
#define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
#define  PANEL_TIMER                      4       /* control type: timer, callback function: (none) */
#define  PANEL_DAQEFF                     5       /* control type: numeric, callback function: (none) */
#define  PANEL_CTIME                      6       /* control type: numeric, callback function: (none) */
#define  PANEL_CDAQTIME                   7       /* control type: numeric, callback function: (none) */
#define  PANEL_CEVE                       8       /* control type: numeric, callback function: (none) */
#define  PANEL_OUTWAVE                    9       /* control type: radioButton, callback function: (none) */
#define  PANEL_GRAPH                      10      /* control type: graph, callback function: (none) */
#define  PANEL_MAXX_6                     11      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  PANEL_MINX_6                     12      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  PANEL_MAXX_5                     13      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  PANEL_MINX_5                     14      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  PANEL_CONNECT                    15      /* control type: textButton, callback function: StartCB */
#define  PANEL_START                      16      /* control type: textButton, callback function: StartCB */
#define  PANEL_ADCTYPE                    17      /* control type: binary, callback function: (none) */
#define  PANEL_AUTOY                      18      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  PANEL_AUTOX                      19      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  PANEL_TAB                        20      /* control type: tab, callback function: (none) */
#define  PANEL_DECORATION                 21      /* control type: deco, callback function: (none) */
#define  PANEL_DECORATION_2               22      /* control type: deco, callback function: (none) */

     /* tab page panel controls */
#define  CH0_EXPORT_1                     2       /* control type: command, callback function: ExportCB */
#define  CH0_EXPORT_3                     3       /* control type: command, callback function: ExportCB */
#define  CH0_ADC1                         4       /* control type: graph, callback function: (none) */
#define  CH0_TDC1                         5       /* control type: graph, callback function: (none) */
#define  CH0_MAXX_3                       6       /* control type: numeric, callback function: (none) */
#define  CH0_MINX_3                       7       /* control type: numeric, callback function: (none) */
#define  CH0_NCH_3                        8       /* control type: numeric, callback function: (none) */
#define  CH0_MAXX_8                       9       /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH0_MINX_8                       10      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH0_MAXX_7                       11      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH0_MINX_7                       12      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH0_MAXX_1                       13      /* control type: numeric, callback function: (none) */
#define  CH0_MINX_1                       14      /* control type: numeric, callback function: (none) */
#define  CH0_NCH_1                        15      /* control type: numeric, callback function: (none) */
#define  CH0_AUTOY_3                      16      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  CH0_AUTOY_2                      17      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  CH0_LOGY_2                       18      /* control type: radioButton, callback function: SetGraphLogYCB */
#define  CH0_EXCLUDE_1                    19      /* control type: radioButton, callback function: (none) */
#define  CH0_LOGY_1                       20      /* control type: radioButton, callback function: SetGraphLogYCB */

     /* tab page panel controls */
#define  CH1_EXPORT_4                     2       /* control type: command, callback function: ExportCB */
#define  CH1_ADC2                         3       /* control type: graph, callback function: (none) */
#define  CH1_EXPORT_2                     4       /* control type: command, callback function: ExportCB */
#define  CH1_MAXX_2                       5       /* control type: numeric, callback function: (none) */
#define  CH1_MINX_2                       6       /* control type: numeric, callback function: (none) */
#define  CH1_NCH_2                        7       /* control type: numeric, callback function: (none) */
#define  CH1_MAXX_10                      8       /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH1_MINX_10                      9       /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH1_AUTOY_5                      10      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  CH1_LOGY_4                       11      /* control type: radioButton, callback function: SetGraphLogYCB */
#define  CH1_TDC2                         12      /* control type: graph, callback function: (none) */
#define  CH1_MAXX_4                       13      /* control type: numeric, callback function: (none) */
#define  CH1_MINX_4                       14      /* control type: numeric, callback function: (none) */
#define  CH1_NCH_4                        15      /* control type: numeric, callback function: (none) */
#define  CH1_MAXX_9                       16      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH1_MINX_9                       17      /* control type: numeric, callback function: SetGraphPropertiesCB */
#define  CH1_AUTOY_4                      18      /* control type: radioButton, callback function: SetGraphPropertiesCB */
#define  CH1_LOGY_3                       19      /* control type: radioButton, callback function: SetGraphLogYCB */
#define  CH1_EXCLUDE_2                    20      /* control type: radioButton, callback function: (none) */

     /* tab page panel controls */
#define  OUTPUT_STDIO                     2       /* control type: textBox, callback function: (none) */

     /* tab page panel controls */
#define  SETTINGS_PFREQ                   2       /* control type: numeric, callback function: (none) */
#define  SETTINGS_TWIN1                   3       /* control type: numeric, callback function: (none) */
#define  SETTINGS_IP                      4       /* control type: string, callback function: (none) */
#define  SETTINGS_NEVE                    5       /* control type: numeric, callback function: (none) */
#define  SETTINGS_NTOTAL                  6       /* control type: numeric, callback function: (none) */
#define  SETTINGS_FILETYPE                7       /* control type: ring, callback function: (none) */
#define  SETTINGS_EXPORTNAME              8       /* control type: string, callback function: (none) */
#define  SETTINGS_CH1                     9       /* control type: radioButton, callback function: (none) */
#define  SETTINGS_NBEFORE                 10      /* control type: numeric, callback function: (none) */
#define  SETTINGS_CH0                     11      /* control type: radioButton, callback function: (none) */
#define  SETTINGS_TEXTMSG                 12      /* control type: textMsg, callback function: (none) */
#define  SETTINGS_FILENAME                13      /* control type: string, callback function: (none) */
#define  SETTINGS_TWIN0                   14      /* control type: numeric, callback function: (none) */
#define  SETTINGS_SAMPLES                 15      /* control type: numeric, callback function: (none) */
#define  SETTINGS_DECIMATION              16      /* control type: ring, callback function: (none) */
#define  SETTINGS_ITRGLEVEL               17      /* control type: numeric, callback function: (none) */
#define  SETTINGS_TRIGGER                 18      /* control type: ring, callback function: (none) */
#define  SETTINGS_TRGLEVEL                19      /* control type: numeric, callback function: (none) */
#define  SETTINGS_DEBUG                   20      /* control type: radioButton, callback function: (none) */
#define  SETTINGS_ENABLEDOUTPUT           21      /* control type: radioButton, callback function: (none) */


     /* 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 ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK SetGraphLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK SetGraphPropertiesCB(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);


#ifdef __cplusplus
    }
#endif