/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 1999. All Rights Reserved.          */
/*                                                                        */
/* 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  AcqMode                         1
#define  AcqMode_NUMERIC_2               2
#define  AcqMode_NUMERIC                 3
#define  AcqMode_RING_4                  4
#define  AcqMode_RING_3                  5
#define  AcqMode_RING_2                  6
#define  AcqMode_RING                    7
#define  AcqMode_COMMANDBUTTON_2         8       /* callback function: AcqCancel */
#define  AcqMode_COMMANDBUTTON           9       /* callback function: AcqOk */
#define  AcqMode_DECORATION_2            10
#define  AcqMode_DECORATION_3            11

#define  MainWindow                      2
#define  MainWindow_LED                  2
#define  MainWindow_COMMANDBUTTON_5      3       /* callback function: DevType */
#define  MainWindow_COMMANDBUTTON_4      4       /* callback function: GetBatInfo */
#define  MainWindow_COMMANDBUTTON_7      5       /* callback function: Clear */
#define  MainWindow_UPDATEPLOT           6       /* callback function: UpdatePlot */
#define  MainWindow_COMMANDBUTTON_6      7       /* callback function: GetDateTime */
#define  MainWindow_NUMERIC_4            8
#define  MainWindow_NUMERIC_3            9
#define  MainWindow_NUMERIC_2            10
#define  MainWindow_NUMERIC_6            11
#define  MainWindow_NUMERIC_5            12
#define  MainWindow_NUMERIC              13
#define  MainWindow_RINGSLIDE            14
#define  MainWindow_GRAPH                15      /* callback function: UpDateMarker */
#define  MainWindow_Vert_DECORATION      16
#define  MainWindow_DECORATION           17
#define  MainWindow_PICTURE              18
#define  MainWindow_DisCon_Con           19
#define  MainWindow_DECORATION_2         20
#define  MainWindow_DECORATION_3         21
#define  MainWindow_Status               22
#define  MainWindow_TEXTMSG_5            23
#define  MainWindow_TEXTMSG_6            24
#define  MainWindow_TEXTMSG              25
#define  MainWindow_TEXTMSG_2            26
#define  MainWindow_TEXTMSG_3            27
#define  MainWindow_TEXTMSG_4            28
#define  MainWindow_Group                29
#define  MainWindow_Gain                 30
#define  MainWindow_Threshold            31
#define  MainWindow_Live_Time            32
#define  MainWindow_Real_Time            33
#define  MainWindow_Start_Time           34
#define  MainWindow_Preset               35
#define  MainWindow_Pmca_Banner          36

#define  McaSetup                        3
#define  McaSetup_NUMERIC                2
#define  McaSetup_RING_2                 3
#define  McaSetup_COMMANDBUTTON_2        4       /* callback function: McaCancel */
#define  McaSetup_COMMANDBUTTON          5       /* callback function: McaOk */
#define  McaSetup_TEXTMSG                6

#define  Preference                      4
#define  Preference_RING_2               2
#define  Preference_RING                 3
#define  Preference_COMMANDBUTTON_2      4       /* callback function: Cancel */
#define  Preference_COMMANDBUTTON        5       /* callback function: SetPreference */
#define  Preference_DECORATION           6


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

#define  MainMenu                        1
#define  MainMenu_File                   2
#define  MainMenu_File_Open              3       /* callback function: OpenFile */
#define  MainMenu_File_Save              4
#define  MainMenu_File_Sprator1          5
#define  MainMenu_File_Print             6       /* callback function: PrintScreen */
#define  MainMenu_File_Sprator2          7
#define  MainMenu_File_Exit              8       /* callback function: Shutdown */
#define  MainMenu_Commun                 9
#define  MainMenu_Commun_Preferences     10      /* callback function: SetPref */
#define  MainMenu_Mca                    11
#define  MainMenu_Mca_AcqSetup           12      /* callback function: AcqSetup */
#define  MainMenu_Mca_StartAcq           13      /* callback function: StartAcq */
#define  MainMenu_Mca_Sprator5           14
#define  MainMenu_Mca_ClearData          15      /* callback function: ClearData */
#define  MainMenu_Mca_ResTime            16      /* callback function: ResTime */
#define  MainMenu_Mca_Sprator6           17
#define  MainMenu_Mca_Connect            18      /* callback function: Connect */
#define  MainMenu_Mca_Sprator7           19
#define  MainMenu_Mca_McaSet             20      /* callback function: McaSet */
#define  MainMenu_Help                   21
#define  MainMenu_Help_APmca             22      /* callback function: AboutPMCA */


     /* Callback Prototypes: */ 

void CVICALLBACK AboutPMCA(int menubar, int menuItem, void *callbackData, int panel);
int  CVICALLBACK AcqCancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK AcqOk(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK AcqSetup(int menubar, int menuItem, void *callbackData, int panel);
int  CVICALLBACK Cancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK Clear(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK ClearData(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK Connect(int menubar, int menuItem, void *callbackData, int panel);
int  CVICALLBACK DevType(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK GetBatInfo(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK GetDateTime(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK McaCancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK McaOk(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK McaSet(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK OpenFile(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK PrintScreen(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK ResTime(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK SetPref(int menubar, int menuItem, void *callbackData, int panel);
int  CVICALLBACK SetPreference(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK Shutdown(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK StartAcq(int menubar, int menuItem, void *callbackData, int panel);
int  CVICALLBACK UpDateMarker(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK UpdatePlot(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif
