⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wab_sensor.h

📁 采用LabwindowsCVI编写的一摄像头采集程序。
💻 H
字号:
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File              */
/* Copyright (c) National Instruments 2008. All Rights Reserved.          */
/*                                                                        */
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */
/*          of this include file.                                         */
/**************************************************************************/

#include <userint.h>

#ifdef __cplusplus
    extern "C" {
#endif

     /* Panels and Controls: */

#define  PANEL                            1       /* callback function: PanelCallback */
#define  PANEL_CANVAS_TV                  2
#define  PANEL_QUIT                       3       /* callback function: QuitCallback */
#define  PANEL_STOP                       4       /* callback function: stopCB */
#define  PANEL_START                      5       /* callback function: startCB */
#define  PANEL_SAVEBMP                    6       /* callback function: recordbmp */
#define  PANEL_CANVAS_SNAP2               7
#define  PANEL_CANVAS_SNAP1               8
#define  PANEL_CANVAS_SNAP0               9
#define  PANEL_STARTSTREAM                10      /* callback function: recordstream */
#define  PANEL_STOPSTREAM                 11      /* callback function: stopstream */
#define  PANEL_RING                       12      /* callback function: method */


     /* Menu Bars, Menus, and Menu Items: */

          /* (no menu bars in the resource file) */


     /* Callback Prototypes: */ 

int  CVICALLBACK method(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK PanelCallback(int panel, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK recordbmp(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK recordstream(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK startCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK stopCB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int  CVICALLBACK stopstream(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);


#ifdef __cplusplus
    }
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -