Subversion Repositories f9daq

Rev

Rev 322 | 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_HRESET                     2       /* control type: command, callback function: ResetCB */
  18. #define  PANEL_EXIT                       3       /* control type: command, callback function: ExitCB */
  19. #define  PANEL_TIMER                      4       /* control type: timer, callback function: (none) */
  20. #define  PANEL_DAQEFF                     5       /* control type: numeric, callback function: (none) */
  21. #define  PANEL_CTIME                      6       /* control type: numeric, callback function: (none) */
  22. #define  PANEL_CDAQTIME                   7       /* control type: numeric, callback function: (none) */
  23. #define  PANEL_CEVE                       8       /* control type: numeric, callback function: (none) */
  24. #define  PANEL_OUTWAVE                    9       /* control type: radioButton, callback function: (none) */
  25. #define  PANEL_GRAPH                      10      /* control type: graph, callback function: (none) */
  26. #define  PANEL_MAXX_6                     11      /* control type: numeric, callback function: SetGraphPropertiesCB */
  27. #define  PANEL_MINX_6                     12      /* control type: numeric, callback function: SetGraphPropertiesCB */
  28. #define  PANEL_MAXX_5                     13      /* control type: numeric, callback function: SetGraphPropertiesCB */
  29. #define  PANEL_MINX_5                     14      /* control type: numeric, callback function: SetGraphPropertiesCB */
  30. #define  PANEL_CONNECT                    15      /* control type: textButton, callback function: StartCB */
  31. #define  PANEL_START                      16      /* control type: textButton, callback function: StartCB */
  32. #define  PANEL_ADCTYPE                    17      /* control type: binary, callback function: (none) */
  33. #define  PANEL_AUTOY                      18      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  34. #define  PANEL_AUTOX                      19      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  35. #define  PANEL_TAB                        20      /* control type: tab, callback function: (none) */
  36. #define  PANEL_DECORATION                 21      /* control type: deco, callback function: (none) */
  37. #define  PANEL_DECORATION_2               22      /* control type: deco, callback function: (none) */
  38.  
  39.      /* tab page panel controls */
  40. #define  CH0_EXPORT_1                     2       /* control type: command, callback function: ExportCB */
  41. #define  CH0_EXPORT_3                     3       /* control type: command, callback function: ExportCB */
  42. #define  CH0_ADC1                         4       /* control type: graph, callback function: (none) */
  43. #define  CH0_TDC1                         5       /* control type: graph, callback function: (none) */
  44. #define  CH0_MAXX_3                       6       /* control type: numeric, callback function: (none) */
  45. #define  CH0_MINX_3                       7       /* control type: numeric, callback function: (none) */
  46. #define  CH0_NCH_3                        8       /* control type: numeric, callback function: (none) */
  47. #define  CH0_MAXX_8                       9       /* control type: numeric, callback function: SetGraphPropertiesCB */
  48. #define  CH0_MINX_8                       10      /* control type: numeric, callback function: SetGraphPropertiesCB */
  49. #define  CH0_MAXX_7                       11      /* control type: numeric, callback function: SetGraphPropertiesCB */
  50. #define  CH0_MINX_7                       12      /* control type: numeric, callback function: SetGraphPropertiesCB */
  51. #define  CH0_MAXX_1                       13      /* control type: numeric, callback function: (none) */
  52. #define  CH0_MINX_1                       14      /* control type: numeric, callback function: (none) */
  53. #define  CH0_NCH_1                        15      /* control type: numeric, callback function: (none) */
  54. #define  CH0_AUTOY_3                      16      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  55. #define  CH0_AUTOY_2                      17      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  56. #define  CH0_LOGY_2                       18      /* control type: radioButton, callback function: SetGraphLogYCB */
  57. #define  CH0_EXCLUDE_1                    19      /* control type: radioButton, callback function: (none) */
  58. #define  CH0_LOGY_1                       20      /* control type: radioButton, callback function: SetGraphLogYCB */
  59.  
  60.      /* tab page panel controls */
  61. #define  CH1_EXPORT_4                     2       /* control type: command, callback function: ExportCB */
  62. #define  CH1_ADC2                         3       /* control type: graph, callback function: (none) */
  63. #define  CH1_EXPORT_2                     4       /* control type: command, callback function: ExportCB */
  64. #define  CH1_MAXX_2                       5       /* control type: numeric, callback function: (none) */
  65. #define  CH1_MINX_2                       6       /* control type: numeric, callback function: (none) */
  66. #define  CH1_NCH_2                        7       /* control type: numeric, callback function: (none) */
  67. #define  CH1_MAXX_10                      8       /* control type: numeric, callback function: SetGraphPropertiesCB */
  68. #define  CH1_MINX_10                      9       /* control type: numeric, callback function: SetGraphPropertiesCB */
  69. #define  CH1_AUTOY_5                      10      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  70. #define  CH1_LOGY_4                       11      /* control type: radioButton, callback function: SetGraphLogYCB */
  71. #define  CH1_TDC2                         12      /* control type: graph, callback function: (none) */
  72. #define  CH1_MAXX_4                       13      /* control type: numeric, callback function: (none) */
  73. #define  CH1_MINX_4                       14      /* control type: numeric, callback function: (none) */
  74. #define  CH1_NCH_4                        15      /* control type: numeric, callback function: (none) */
  75. #define  CH1_MAXX_9                       16      /* control type: numeric, callback function: SetGraphPropertiesCB */
  76. #define  CH1_MINX_9                       17      /* control type: numeric, callback function: SetGraphPropertiesCB */
  77. #define  CH1_AUTOY_4                      18      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  78. #define  CH1_LOGY_3                       19      /* control type: radioButton, callback function: SetGraphLogYCB */
  79. #define  CH1_EXCLUDE_2                    20      /* control type: radioButton, callback function: (none) */
  80.  
  81.      /* tab page panel controls */
  82. #define  OUTPUT_STDIO                     2       /* control type: textBox, callback function: (none) */
  83.  
  84.      /* tab page panel controls */
  85. #define  SETTINGS_PFREQ                   2       /* control type: numeric, callback function: (none) */
  86. #define  SETTINGS_TWIN1                   3       /* control type: numeric, callback function: (none) */
  87. #define  SETTINGS_IP                      4       /* control type: string, callback function: (none) */
  88. #define  SETTINGS_NEVE                    5       /* control type: numeric, callback function: (none) */
  89. #define  SETTINGS_NTOTAL                  6       /* control type: numeric, callback function: (none) */
  90. #define  SETTINGS_FILETYPE                7       /* control type: ring, callback function: (none) */
  91. #define  SETTINGS_EXPORTNAME              8       /* control type: string, callback function: (none) */
  92. #define  SETTINGS_CH1                     9       /* control type: radioButton, callback function: (none) */
  93. #define  SETTINGS_NBEFORE                 10      /* control type: numeric, callback function: (none) */
  94. #define  SETTINGS_CH0                     11      /* control type: radioButton, callback function: (none) */
  95. #define  SETTINGS_TEXTMSG                 12      /* control type: textMsg, callback function: (none) */
  96. #define  SETTINGS_FILENAME                13      /* control type: string, callback function: (none) */
  97. #define  SETTINGS_TWIN0                   14      /* control type: numeric, callback function: (none) */
  98. #define  SETTINGS_SAMPLES                 15      /* control type: numeric, callback function: (none) */
  99. #define  SETTINGS_DECIMATION              16      /* control type: ring, callback function: (none) */
  100. #define  SETTINGS_ITRGLEVEL               17      /* control type: numeric, callback function: (none) */
  101. #define  SETTINGS_TRIGGER                 18      /* control type: ring, callback function: (none) */
  102. #define  SETTINGS_TRGLEVEL                19      /* control type: numeric, callback function: (none) */
  103. #define  SETTINGS_DEBUG                   20      /* control type: radioButton, callback function: (none) */
  104. #define  SETTINGS_ENABLEDOUTPUT           21      /* control type: radioButton, callback function: (none) */
  105.  
  106.  
  107.      /* Control Arrays: */
  108.  
  109.           /* (no control arrays in the resource file) */
  110.  
  111.  
  112.      /* Menu Bars, Menus, and Menu Items: */
  113.  
  114.           /* (no menu bars in the resource file) */
  115.  
  116.  
  117.      /* Callback Prototypes: */
  118.  
  119. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  120. int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  121. int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  122. int  CVICALLBACK SetGraphLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  123. int  CVICALLBACK SetGraphPropertiesCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  124. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  125.  
  126.  
  127. #ifdef __cplusplus
  128.     }
  129. #endif