Subversion Repositories f9daq

Rev

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  SCAN                             1
  17. #define  SCAN_OPENMAIN                    2       /* control type: command, callback function: OpenMainCB */
  18. #define  SCAN_BD                          3       /* control type: command, callback function: MoveStageCB */
  19. #define  SCAN_BR                          4       /* control type: command, callback function: MoveStageCB */
  20. #define  SCAN_GETPOSITION                 5       /* control type: command, callback function: GetCurrentPositionCB */
  21. #define  SCAN_SCAN                        6       /* control type: command, callback function: StartCB */
  22. #define  SCAN_BU                          7       /* control type: command, callback function: MoveStageCB */
  23. #define  SCAN_HO                          8       /* control type: command, callback function: HomeCB */
  24. #define  SCAN_BL                          9       /* control type: command, callback function: MoveStageCB */
  25. #define  SCAN_XG                          10      /* control type: numeric, callback function: (none) */
  26. #define  SCAN_YG                          11      /* control type: numeric, callback function: (none) */
  27. #define  SCAN_IX                          12      /* control type: numeric, callback function: (none) */
  28. #define  SCAN_IY                          13      /* control type: numeric, callback function: (none) */
  29. #define  SCAN_NSTEPSX                     14      /* control type: numeric, callback function: (none) */
  30. #define  SCAN_NSTEPSY                     15      /* control type: numeric, callback function: (none) */
  31. #define  SCAN_STEPX                       16      /* control type: numeric, callback function: (none) */
  32. #define  SCAN_STEPY                       17      /* control type: numeric, callback function: (none) */
  33. #define  SCAN_STARTX                      18      /* control type: numeric, callback function: (none) */
  34. #define  SCAN_STARTY                      19      /* control type: numeric, callback function: (none) */
  35. #define  SCAN_XP                          20      /* control type: numeric, callback function: (none) */
  36. #define  SCAN_YP                          21      /* control type: numeric, callback function: (none) */
  37. #define  SCAN_GY                          22      /* control type: command, callback function: GoYCB */
  38. #define  SCAN_GX                          23      /* control type: command, callback function: GoXCB */
  39. #define  SCAN_PORT                        24      /* control type: numeric, callback function: (none) */
  40.  
  41.  
  42.      /* Control Arrays: */
  43.  
  44.           /* (no control arrays in the resource file) */
  45.  
  46.  
  47.      /* Menu Bars, Menus, and Menu Items: */
  48.  
  49.           /* (no menu bars in the resource file) */
  50.  
  51.  
  52.      /* Callback Prototypes: */
  53.  
  54. int  CVICALLBACK GetCurrentPositionCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  55. int  CVICALLBACK GoXCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  56. int  CVICALLBACK GoYCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  57. int  CVICALLBACK HomeCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  58. int  CVICALLBACK MoveStageCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  59. int  CVICALLBACK OpenMainCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  60. int  CVICALLBACK StartCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
  61.  
  62.  
  63. #ifdef __cplusplus
  64.     }
  65. #endif
  66.