Subversion Repositories f9daq

Rev

Rev 262 | Rev 322 | 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_CTIME                      22      /* control type: numeric, callback function: (none) */
  38. #define  PANEL_CDAQTIME                   23      /* control type: numeric, callback function: (none) */
  39. #define  PANEL_CEVE                       24      /* control type: numeric, callback function: (none) */
  40. #define  PANEL_ADC2                       25      /* control type: graph, callback function: (none) */
  41. #define  PANEL_TDC2                       26      /* control type: graph, callback function: (none) */
  42. #define  PANEL_ADC1                       27      /* control type: graph, callback function: (none) */
  43. #define  PANEL_TDC1                       28      /* control type: graph, callback function: (none) */
  44. #define  PANEL_DECIMATION                 29      /* control type: ring, callback function: (none) */
  45. #define  PANEL_TRIGGER                    30      /* control type: ring, callback function: (none) */
  46. #define  PANEL_OUTWAVE                    31      /* control type: radioButton, callback function: (none) */
  47. #define  PANEL_ENABLEDOUTPUT              32      /* control type: radioButton, callback function: (none) */
  48. #define  PANEL_DEBUG                      33      /* control type: radioButton, callback function: (none) */
  49. #define  PANEL_CH1                        34      /* control type: radioButton, callback function: (none) */
  50. #define  PANEL_GRAPH                      35      /* control type: graph, callback function: (none) */
  51. #define  PANEL_CH0                        36      /* control type: radioButton, callback function: (none) */
  52. #define  PANEL_TEXTMSG                    37      /* control type: textMsg, callback function: (none) */
  53. #define  PANEL_STDIO                      38      /* control type: textBox, callback function: (none) */
  54. #define  PANEL_MAXX_3                     39      /* control type: numeric, callback function: (none) */
  55. #define  PANEL_MINX_3                     40      /* control type: numeric, callback function: (none) */
  56. #define  PANEL_NCH_3                      41      /* control type: numeric, callback function: (none) */
  57. #define  PANEL_MAXX_4                     42      /* control type: numeric, callback function: (none) */
  58. #define  PANEL_MINX_4                     43      /* control type: numeric, callback function: (none) */
  59. #define  PANEL_NCH_4                      44      /* control type: numeric, callback function: (none) */
  60. #define  PANEL_MAXX_2                     45      /* control type: numeric, callback function: (none) */
  61. #define  PANEL_MINX_2                     46      /* control type: numeric, callback function: (none) */
  62. #define  PANEL_NCH_2                      47      /* control type: numeric, callback function: (none) */
  63. #define  PANEL_MAXX_6                     48      /* control type: numeric, callback function: SetGraphPropertiesCB */
  64. #define  PANEL_MINX_6                     49      /* control type: numeric, callback function: SetGraphPropertiesCB */
  65. #define  PANEL_MAXX_10                    50      /* control type: numeric, callback function: SetGraphPropertiesCB */
  66. #define  PANEL_MINX_10                    51      /* control type: numeric, callback function: SetGraphPropertiesCB */
  67. #define  PANEL_MAXX_9                     52      /* control type: numeric, callback function: SetGraphPropertiesCB */
  68. #define  PANEL_MINX_9                     53      /* control type: numeric, callback function: SetGraphPropertiesCB */
  69. #define  PANEL_MAXX_8                     54      /* control type: numeric, callback function: SetGraphPropertiesCB */
  70. #define  PANEL_MINX_8                     55      /* control type: numeric, callback function: SetGraphPropertiesCB */
  71. #define  PANEL_MAXX_7                     56      /* control type: numeric, callback function: SetGraphPropertiesCB */
  72. #define  PANEL_MINX_7                     57      /* control type: numeric, callback function: SetGraphPropertiesCB */
  73. #define  PANEL_MAXX_5                     58      /* control type: numeric, callback function: SetGraphPropertiesCB */
  74. #define  PANEL_MINX_5                     59      /* control type: numeric, callback function: SetGraphPropertiesCB */
  75. #define  PANEL_AUTOY_5                    60      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  76. #define  PANEL_MAXX_1                     61      /* control type: numeric, callback function: (none) */
  77. #define  PANEL_MINX_1                     62      /* control type: numeric, callback function: (none) */
  78. #define  PANEL_AUTOY_4                    63      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  79. #define  PANEL_NCH_1                      64      /* control type: numeric, callback function: (none) */
  80. #define  PANEL_CONNECT                    65      /* control type: textButton, callback function: StartCB */
  81. #define  PANEL_AUTOY_3                    66      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  82. #define  PANEL_AUTOY_2                    67      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  83. #define  PANEL_START                      68      /* control type: textButton, callback function: StartCB */
  84. #define  PANEL_ADCTYPE                    69      /* control type: binary, callback function: (none) */
  85. #define  PANEL_AUTOY                      70      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  86. #define  PANEL_LOGY_4                     71      /* control type: radioButton, callback function: SetGraphLogYCB */
  87. #define  PANEL_LOGY_3                     72      /* control type: radioButton, callback function: SetGraphLogYCB */
  88. #define  PANEL_LOGY_2                     73      /* control type: radioButton, callback function: SetGraphLogYCB */
  89. #define  PANEL_EXCLUDE_2                  74      /* control type: radioButton, callback function: (none) */
  90. #define  PANEL_EXCLUDE_1                  75      /* control type: radioButton, callback function: (none) */
  91. #define  PANEL_LOGY_1                     76      /* control type: radioButton, callback function: SetGraphLogYCB */
  92. #define  PANEL_AUTOX                      77      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  93.  
  94.  
  95.      /* Control Arrays: */
  96.  
  97.           /* (no control arrays in the resource file) */
  98.  
  99.  
  100.      /* Menu Bars, Menus, and Menu Items: */
  101.  
  102.           /* (no menu bars in the resource file) */
  103.  
  104.  
  105.      /* Callback Prototypes: */
  106.  
  107. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  108. int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  109. int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  110. int  CVICALLBACK SetGraphLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  111. int  CVICALLBACK SetGraphPropertiesCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  112. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  113.  
  114.  
  115. #ifdef __cplusplus
  116.     }
  117. #endif
  118.