Subversion Repositories f9daq

Rev

Rev 250 | Rev 253 | 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_5                     48      /* control type: numeric, callback function: SetGraphPropertiesCB */
  64. #define  PANEL_MINX_5                     49      /* control type: numeric, callback function: SetGraphPropertiesCB */
  65. #define  PANEL_MAXX_1                     50      /* control type: numeric, callback function: (none) */
  66. #define  PANEL_MINX_1                     51      /* control type: numeric, callback function: (none) */
  67. #define  PANEL_NCH_1                      52      /* control type: numeric, callback function: (none) */
  68. #define  PANEL_CONNECT                    53      /* control type: textButton, callback function: StartCB */
  69. #define  PANEL_START                      54      /* control type: textButton, callback function: StartCB */
  70. #define  PANEL_ADCTYPE                    55      /* control type: binary, callback function: (none) */
  71. #define  PANEL_AUTOY                      56      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  72. #define  PANEL_LOGY_4                     57      /* control type: radioButton, callback function: SetGraphLogYCB */
  73. #define  PANEL_LOGY_3                     58      /* control type: radioButton, callback function: SetGraphLogYCB */
  74. #define  PANEL_LOGY_2                     59      /* control type: radioButton, callback function: SetGraphLogYCB */
  75. #define  PANEL_LOGY_1                     60      /* control type: radioButton, callback function: SetGraphLogYCB */
  76. #define  PANEL_AUTOX                      61      /* control type: radioButton, callback function: SetGraphPropertiesCB */
  77.  
  78.  
  79.      /* Control Arrays: */
  80.  
  81.           /* (no control arrays in the resource file) */
  82.  
  83.  
  84.      /* Menu Bars, Menus, and Menu Items: */
  85.  
  86.           /* (no menu bars in the resource file) */
  87.  
  88.  
  89.      /* Callback Prototypes: */
  90.  
  91. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  92. int  CVICALLBACK ExportCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  93. int  CVICALLBACK ResetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  94. int  CVICALLBACK SetGraphLogYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  95. int  CVICALLBACK SetGraphPropertiesCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  96. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  97.  
  98.  
  99. #ifdef __cplusplus
  100.     }
  101. #endif
  102.