Subversion Repositories f9daq

Rev

Rev 280 | 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  P1                               1
  17. #define  P1_EXIT                          2       /* control type: command, callback function: ExitCB */
  18. #define  P1_U_4                           3       /* control type: numeric, callback function: (none) */
  19. #define  P1_I_4                           4       /* control type: numeric, callback function: (none) */
  20. #define  P1_BOX_4                         5       /* control type: radioButton, callback function: SetMaskCB */
  21. #define  P1_U_3                           6       /* control type: numeric, callback function: (none) */
  22. #define  P1_IMON_4                        7       /* control type: numeric, callback function: (none) */
  23. #define  P1_VMON_4                        8       /* control type: numeric, callback function: (none) */
  24. #define  P1_I_3                           9       /* control type: numeric, callback function: (none) */
  25. #define  P1_BOX_3                         10      /* control type: radioButton, callback function: SetMaskCB */
  26. #define  P1_U_2                           11      /* control type: numeric, callback function: (none) */
  27. #define  P1_IMON_3                        12      /* control type: numeric, callback function: (none) */
  28. #define  P1_VMON_3                        13      /* control type: numeric, callback function: (none) */
  29. #define  P1_I_2                           14      /* control type: numeric, callback function: (none) */
  30. #define  P1_BOX_2                         15      /* control type: radioButton, callback function: SetMaskCB */
  31. #define  P1_U_1                           16      /* control type: numeric, callback function: (none) */
  32. #define  P1_IMON_2                        17      /* control type: numeric, callback function: (none) */
  33. #define  P1_VMON_2                        18      /* control type: numeric, callback function: (none) */
  34. #define  P1_I_1                           19      /* control type: numeric, callback function: (none) */
  35. #define  P1_BOX_1                         20      /* control type: radioButton, callback function: SetMaskCB */
  36. #define  P1_READ                          21      /* control type: command, callback function: ReadCB */
  37. #define  P1_SET                           22      /* control type: command, callback function: SetCB */
  38. #define  P1_IMON_1                        23      /* control type: numeric, callback function: (none) */
  39. #define  P1_VMON_1                        24      /* control type: numeric, callback function: (none) */
  40. #define  P1_TIMERON                       25      /* control type: binary, callback function: TimerOnOffCB */
  41. #define  P1_LOG                           26      /* control type: radioButton, callback function: LogToFileCB */
  42. #define  P1_CVCC_4                        27      /* control type: LED, callback function: (none) */
  43. #define  P1_CVCC_3                        28      /* control type: LED, callback function: (none) */
  44. #define  P1_CVCC_2                        29      /* control type: LED, callback function: (none) */
  45. #define  P1_CVCC_1                        30      /* control type: LED, callback function: (none) */
  46. #define  P1_TIMER                         31      /* control type: timer, callback function: TimerCB */
  47. #define  P1_ONOFF                         32      /* control type: binary, callback function: SwitchOnOffCB */
  48. #define  P1_TINTERVAL                     33      /* control type: numeric, callback function: SetIntervalCB */
  49. #define  P1_PRESET                        34      /* control type: numeric, callback function: SetPresetCB */
  50. #define  P1_GRAPH_IMON                    35      /* control type: strip, callback function: (none) */
  51. #define  P1_GRAPH_VMON                    36      /* control type: strip, callback function: (none) */
  52.  
  53.  
  54.      /* Control Arrays: */
  55.  
  56.           /* (no control arrays in the resource file) */
  57.  
  58.  
  59.      /* Menu Bars, Menus, and Menu Items: */
  60.  
  61.           /* (no menu bars in the resource file) */
  62.  
  63.  
  64.      /* Callback Prototypes: */
  65.  
  66. int  CVICALLBACK ExitCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  67. int  CVICALLBACK LogToFileCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  68. int  CVICALLBACK ReadCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  69. int  CVICALLBACK SetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  70. int  CVICALLBACK SetIntervalCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  71. int  CVICALLBACK SetMaskCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  72. int  CVICALLBACK SetPresetCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  73. int  CVICALLBACK SwitchOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  74. int  CVICALLBACK TimerCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  75. int  CVICALLBACK TimerOnOffCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  76.  
  77.  
  78. #ifdef __cplusplus
  79.     }
  80. #endif
  81.