Subversion Repositories f9daq

Rev

Rev 253 | Rev 263 | 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_6                     46      /* control type: numeric, callback function: SetGraphPropertiesCB */
  62. #define  PANEL_MINX_6                     47      /* control type: numeric, callback function: SetGraphPropertiesCB */
  63. #define  PANEL_MAXX_10                    48      /* control type: numeric, callback function: SetGraphPropertiesCB */
  64. #define  PANEL_MINX_10                    49      /* control type: numeric, callback function: SetGraphPropertiesCB */
  65. #define  PANEL_MAXX_9                     50      /* control type: numeric, callback function: SetGraphPropertiesCB */
  66. #define  PANEL_MINX_9                     51      /* control type: numeric, callback function: SetGraphPropertiesCB */
  67. #define  PANEL_MAXX_8                     52      /* control type: numeric, callback function: SetGraphPropertiesCB */
  68. #define  PANEL_MINX_8                     53      /* control type: numeric, callback function: SetGraphPropertiesCB */
  69. #define  PANEL_MAXX_7                     54      /* control type: numeric, callback function: SetGraphPropertiesCB */
  70. #define  PANEL_MINX_7                     55      /* control type: numeric, callback function: SetGraphPropertiesCB */
  71. #define  PANEL_MAXX_5                     56      /* control type: numeric, callback function: SetGraphPropertiesCB */
  72. #define  PANEL_MINX_5                     57      /* control type: numeric, callback function: SetGraphPropertiesCB */
  73. #define  PANEL_AUTOY_5                    58      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  74. #define  PANEL_MAXX_1                     59      /* control type: numeric, callback function: (none) */
  75. #define  PANEL_MINX_1                     60      /* control type: numeric, callback function: (none) */
  76. #define  PANEL_AUTOY_4                    61      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  77. #define  PANEL_NCH_1                      62      /* control type: numeric, callback function: (none) */
  78. #define  PANEL_CONNECT                    63      /* control type: textButton, callback function: StartCB */
  79. #define  PANEL_AUTOY_3                    64      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  80. #define  PANEL_AUTOY_2                    65      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  81. #define  PANEL_START                      66      /* control type: textButton, callback function: StartCB */
  82. #define  PANEL_ADCTYPE                    67      /* control type: binary, callback function: (none) */
  83. #define  PANEL_AUTOY                      68      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  84. #define  PANEL_LOGY_4                     69      /* control type: radioButton, callback function: SetGraphLogYCB */
  85. #define  PANEL_LOGY_3                     70      /* control type: radioButton, callback function: SetGraphLogYCB */
  86. #define  PANEL_LOGY_2                     71      /* control type: radioButton, callback function: SetGraphLogYCB */
  87. #define  PANEL_LOGY_1                     72      /* control type: radioButton, callback function: SetGraphLogYCB */
  88. #define  PANEL_AUTOX                      73      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  89.  
  90.  
  91.      /* Control Arrays: */
  92.  
  93.           /* (no control arrays in the resource file) */
  94.  
  95.  
  96.      /* Menu Bars, Menus, and Menu Items: */
  97.  
  98.           /* (no menu bars in the resource file) */
  99.  
  100.  
  101.      /* Callback Prototypes: */
  102.  
  103. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  104. int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  105. int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  106. int  CVICALLBACK SetGraphLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  107. int  CVICALLBACK SetGraphPropertiesCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  108. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  109.  
  110.  
  111. #ifdef __cplusplus
  112.     }
  113. #endif
  114.