Subversion Repositories f9daq

Rev

Rev 245 | Rev 252 | Go to most recent revision | Blame | Compare with Previous | 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  PANEL                            1
  17. #define  PANEL_EXPORT_4                   2       /* control type: command, callback function: ExportCB */
  18. #define  PANEL_EXPORT_2                   3       /* control type: command, callback function: ExportCB */
  19. #define  PANEL_EXPORT_1                   4       /* control type: command, callback function: ExportCB */
  20. #define  PANEL_EXPORT_3                   5       /* control type: command, callback function: ExportCB */
  21. #define  PANEL_HRESET                     6       /* control type: command, callback function: ResetCB */
  22. #define  PANEL_EXIT                       7       /* control type: command, callback function: ExitCB */
  23. #define  PANEL_IP                         8       /* control type: string, callback function: (none) */
  24. #define  PANEL_FILENAME                   9       /* control type: string, callback function: (none) */
  25. #define  PANEL_TIMER                      10      /* control type: timer, callback function: (none) */
  26. #define  PANEL_TWIN1                      11      /* control type: numeric, callback function: (none) */
  27. #define  PANEL_TWIN0                      12      /* control type: numeric, callback function: (none) */
  28. #define  PANEL_ITRGLEVEL                  13      /* control type: numeric, callback function: (none) */
  29. #define  PANEL_TRGLEVEL                   14      /* control type: numeric, callback function: (none) */
  30. #define  PANEL_EXPORTNAME                 15      /* control type: string, callback function: (none) */
  31. #define  PANEL_FILETYPE                   16      /* control type: ring, callback function: (none) */
  32. #define  PANEL_PFREQ                      17      /* control type: numeric, callback function: (none) */
  33. #define  PANEL_NBEFORE                    18      /* control type: numeric, callback function: (none) */
  34. #define  PANEL_SAMPLES                    19      /* control type: numeric, callback function: (none) */
  35. #define  PANEL_NTOTAL                     20      /* control type: numeric, callback function: (none) */
  36. #define  PANEL_NEVE                       21      /* control type: numeric, callback function: (none) */
  37. #define  PANEL_CEVE                       22      /* control type: numeric, callback function: (none) */
  38. #define  PANEL_ADC2                       23      /* control type: graph, callback function: (none) */
  39. #define  PANEL_TDC2                       24      /* control type: graph, callback function: (none) */
  40. #define  PANEL_ADC1                       25      /* control type: graph, callback function: (none) */
  41. #define  PANEL_TDC1                       26      /* control type: graph, callback function: (none) */
  42. #define  PANEL_DECIMATION                 27      /* control type: ring, callback function: (none) */
  43. #define  PANEL_TRIGGER                    28      /* control type: ring, callback function: (none) */
  44. #define  PANEL_OUTWAVE                    29      /* control type: radioButton, callback function: (none) */
  45. #define  PANEL_ENABLEDOUTPUT              30      /* control type: radioButton, callback function: (none) */
  46. #define  PANEL_DEBUG                      31      /* control type: radioButton, callback function: (none) */
  47. #define  PANEL_CH1                        32      /* control type: radioButton, callback function: (none) */
  48. #define  PANEL_GRAPH                      33      /* control type: graph, callback function: (none) */
  49. #define  PANEL_CH0                        34      /* control type: radioButton, callback function: (none) */
  50. #define  PANEL_TEXTMSG                    35      /* control type: textMsg, callback function: (none) */
  51. #define  PANEL_STDIO                      36      /* control type: textBox, callback function: (none) */
  52. #define  PANEL_MAXX_3                     37      /* control type: numeric, callback function: (none) */
  53. #define  PANEL_MINX_3                     38      /* control type: numeric, callback function: (none) */
  54. #define  PANEL_NCH_3                      39      /* control type: numeric, callback function: (none) */
  55. #define  PANEL_MAXX_4                     40      /* control type: numeric, callback function: (none) */
  56. #define  PANEL_MINX_4                     41      /* control type: numeric, callback function: (none) */
  57. #define  PANEL_NCH_4                      42      /* control type: numeric, callback function: (none) */
  58. #define  PANEL_MAXX_2                     43      /* control type: numeric, callback function: (none) */
  59. #define  PANEL_MINX_2                     44      /* control type: numeric, callback function: (none) */
  60. #define  PANEL_NCH_2                      45      /* control type: numeric, callback function: (none) */
  61. #define  PANEL_MAXX_5                     46      /* control type: numeric, callback function: (none) */
  62. #define  PANEL_MINX_5                     47      /* control type: numeric, callback function: (none) */
  63. #define  PANEL_MAXX_1                     48      /* control type: numeric, callback function: (none) */
  64. #define  PANEL_MINX_1                     49      /* control type: numeric, callback function: (none) */
  65. #define  PANEL_NCH_1                      50      /* control type: numeric, callback function: (none) */
  66. #define  PANEL_CONNECT                    51      /* control type: textButton, callback function: StartCB */
  67. #define  PANEL_START                      52      /* control type: textButton, callback function: StartCB */
  68. #define  PANEL_ADCTYPE                    53      /* control type: binary, callback function: (none) */
  69.  
  70.  
  71.      /* Control Arrays: */
  72.  
  73.           /* (no control arrays in the resource file) */
  74.  
  75.  
  76.      /* Menu Bars, Menus, and Menu Items: */
  77.  
  78.           /* (no menu bars in the resource file) */
  79.  
  80.  
  81.      /* Callback Prototypes: */
  82.  
  83. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  84. int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  85. int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  86. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  87.  
  88.  
  89. #ifdef __cplusplus
  90.     }
  91. #endif
  92.