Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  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_EXIT                          2       /* control type: command, callback function: ExitCB */
  18. #define  P1_SHOWSETTINGS                  3       /* control type: command, callback function: ShowSettingsCB */
  19. #define  P1_STOP                          4       /* control type: command, callback function: StopCB */
  20. #define  P1_START                         5       /* control type: command, callback function: StartCB */
  21. #define  P1_DX                            6       /* control type: numeric, callback function: (none) */
  22. #define  P1_X0                            7       /* control type: numeric, callback function: (none) */
  23. #define  P1_NX                            8       /* control type: numeric, callback function: (none) */
  24. #define  P1_NTIME                         9       /* control type: numeric, callback function: (none) */
  25. #define  P1_NEVE                          10      /* control type: numeric, callback function: (none) */
  26. #define  P1_EVE                           11      /* control type: binary, callback function: (none) */
  27. #define  P1_SHOWHISTO                     12      /* control type: command, callback function: ShowHistoCB */
  28. #define  P1_FMASK                         13      /* control type: string, callback function: (none) */
  29. #define  P1_FNAME                         14      /* control type: string, callback function: (none) */
  30. #define  P1_OUTPUT                        15      /* control type: radioButton, callback function: (none) */
  31. #define  P1_RECO                          16      /* control type: radioButton, callback function: (none) */
  32. #define  P1_CEVE                          17      /* control type: numeric, callback function: (none) */
  33. #define  P1_IO                            18      /* control type: textBox, callback function: (none) */
  34. #define  P1_TIMER                         19      /* control type: timer, callback function: (none) */
  35.  
  36. #define  P2                               2
  37. #define  P2_GRAPHADC                      2       /* control type: graph, callback function: (none) */
  38. #define  P2_GRAPH2D                       3       /* control type: graph, callback function: (none) */
  39. #define  P2_ADC                           4       /* control type: numeric, callback function: RefreshGraphs */
  40. #define  P2_PMT                           5       /* control type: numeric, callback function: RefreshGraphs */
  41. #define  P2_LOGZ                          6       /* control type: radioButton, callback function: SetLogZCB */
  42. #define  P2_LOGY                          7       /* control type: radioButton, callback function: SetLogYCB */
  43. #define  P2_SHOWMAIN                      8       /* control type: command, callback function: ShowMainCB */
  44.  
  45. #define  P3                               3
  46. #define  P3_CGEO_2                        2       /* control type: table, callback function: (none) */
  47. #define  P3_CGEO                          3       /* control type: table, callback function: (none) */
  48. #define  P3_SHOWMAIN                      4       /* control type: command, callback function: ShowMainCB */
  49. #define  P3_GTHRESHOLD                    5       /* control type: numeric, callback function: (none) */
  50. #define  P3_PEAKSCALING                   6       /* control type: numeric, callback function: (none) */
  51.  
  52.  
  53.      /* Control Arrays: */
  54.  
  55.           /* (no control arrays in the resource file) */
  56.  
  57.  
  58.      /* Menu Bars, Menus, and Menu Items: */
  59.  
  60.           /* (no menu bars in the resource file) */
  61.  
  62.  
  63.      /* Callback Prototypes: */
  64.  
  65. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  66. int  CVICALLBACK RefreshGraphs(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  67. int  CVICALLBACK SetLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  68. int  CVICALLBACK SetLogZCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  69. int  CVICALLBACK ShowHistoCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  70. int  CVICALLBACK ShowMainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  71. int  CVICALLBACK ShowSettingsCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  72. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  73. int  CVICALLBACK StopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  74.  
  75.  
  76. #ifdef __cplusplus
  77.     }
  78. #endif
  79.