资源简介
资源中是官网的Basler工业相机二次开发的SDK,内有c,c++,c#三个版本

代码片段和文件信息
/*
This sample illustrates how to grab images
using a GigE Vision action command to trigger multiple cameras.
At least 2 connected GigE cameras are required for this sample.
*/
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0400
#endif
#include
#include
#include
#include
#include
#include
/* Limits the amount of cameras used for grabbing.
It is important to manage the available bandwidth when grabbing with multiple
cameras. This applies for instance if two GigE cameras are connected to the
same network adapter via a switch. To manage the bandwidth the GevSCPD
interpacket delay parameter and the GevSCFTD transmission delay parameter can
be set for each GigE camera device. The “Controlling Packet Transmission Timing
with the Interpacket and frame Transmission Delays on Basler GigE Vision Cameras“
Application Note (AW000649xx000) provides more information about this topic. */
#define MAX_NUM_DEVICES 4
#define GIGE_PACKET_SIZE 1500 /* Size of one Ethernet packet. */
#define GIGE_PROTOCOL_OVERHEAD 36 /* Total number of bytes of protocol overhead. */
#define CHECK( errc ) if ( GENAPI_E_OK != errc ) printErrorAndExit( errc )
const uint32_t AllGroupMask = 0xffffffff;
/* This function can be used to wait for user input at the end of the sample program. */
void pressEnterToExit(void);
/* This method demonstrates how to retrieve the error message for the last failed function call. */
void printErrorAndExit( GENAPIC_RESULT errc );
int main(void)
{
GENAPIC_RESULT res; /* Return value of pylon methods. */
size_t i; /* Generic loop variable */
size_t numDevicesEnumerated; /* Number of available devices. */
size_t numDevicesToUse; /* Number of usable devices. */
_Bool isAvail; /* Used for checking feature availability. */
size_t enumeratedDeviceIndex; /* Index of device when accessing the enumeration result. */
size_t deviceIndex; /* Index of device used in this sample. */
PYLON_WAITobjectS_HANDLE wos = NULL; /* Wait objects. */
uint32_t DeviceKey; /* Random device key used in this session. It will be initialized below. */
uint32_t GroupKey; /* Group key for the devices. In this sample all devices will be in the same group. */
/* These are camera-specific variables. */
PYLON_DEVICE_HANDLE hDev[MAX_NUM_DEVICES]; /* Handle for the pylon device. */
PYLON_STREAMGRABBER_HANDLE hGrabber[MAX_NUM_DEVICES]; /* Handle for the pylon stream grabber. */
unsigned char *buffers[MAX_NUM_DEVICES]; /* Buffers used for grab
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 21660 2018-04-03 12:20 Samples\C\ActionCommands\ActionCommands.c
文件 10928 2018-04-03 12:20 Samples\C\ActionCommands\ActionCommands.vcproj
文件 724 2018-03-13 18:14 Samples\C\ActionCommands\debug.mak
文件 150 2018-03-13 18:14 Samples\C\ActionCommands\makefile
文件 701 2018-03-13 18:14 Samples\C\ActionCommands\release.mak
文件 184 2018-03-13 18:14 Samples\C\buildall.cmd
文件 26399 2018-04-03 12:20 Samples\C\Chunks\Chunks.c
文件 8592 2018-04-03 12:20 Samples\C\Chunks\Chunks.vcproj
文件 716 2018-03-13 18:14 Samples\C\Chunks\debug.mak
文件 150 2018-03-13 18:14 Samples\C\Chunks\makefile
文件 693 2018-03-13 18:14 Samples\C\Chunks\release.mak
文件 716 2018-03-13 18:14 Samples\C\Events\debug.mak
文件 26538 2018-04-03 12:20 Samples\C\Events\Events.c
文件 8592 2018-04-03 12:20 Samples\C\Events\Events.vcproj
文件 150 2018-03-13 18:14 Samples\C\Events\makefile
文件 684 2018-03-13 18:14 Samples\C\Events\release.mak
文件 721 2018-03-13 18:14 Samples\C\GenApiParam\debug.mak
文件 34309 2018-04-03 12:20 Samples\C\GenApiParam\GenApiParam.c
文件 8607 2018-04-03 12:20 Samples\C\GenApiParam\GenApiParam.vcproj
文件 150 2018-03-13 18:14 Samples\C\GenApiParam\makefile
文件 698 2018-03-13 18:14 Samples\C\GenApiParam\release.mak
文件 724 2018-03-13 18:14 Samples\C\GrabTwoCameras\debug.mak
文件 24956 2018-04-03 12:20 Samples\C\GrabTwoCameras\GrabTwoCameras.c
文件 8616 2018-04-03 12:20 Samples\C\GrabTwoCameras\GrabTwoCameras.vcproj
文件 150 2018-03-13 18:14 Samples\C\GrabTwoCameras\makefile
文件 701 2018-03-13 18:14 Samples\C\GrabTwoCameras\release.mak
文件 852 2018-03-13 18:14 Samples\C\HowToBuildSamples.txt
文件 724 2018-03-13 18:14 Samples\C\OverlappedGrab\debug.mak
文件 150 2018-03-13 18:14 Samples\C\OverlappedGrab\makefile
文件 17869 2018-04-03 12:20 Samples\C\OverlappedGrab\OverlappedGrab.c
............此处省略401个文件信息
- 上一篇:OpenGL3D
- 下一篇:c++ primer 第五版 中文版 源代码
相关资源
- basler相机图像采集和显示
- 基于VC++的SolidWorks二次开发SolidWorks
- 博士报警主机SDK调用
- 大华相机SDK
- C++实现的蓝牙应用程序框架-BlueSolei
- Win32简易画图程序
- GDI+SDK参考文档
- 海康威视播放器
- 海康 摄像机 SDK 通道获取 视频播放
- 基于MFC的Basler相机SDK采集
- 三菱PLC 上位机的SDK文档(1)一般的人
- basler多相机采集
- MicroStation--SDK--培训教程
- DirectShowSDKinDirectX9.0b
- 最好用的OPC Server开发包OPCServer开发工
- SDKvc6.0用
- Windows XP SP2 Platform SDK
- 汉王电子签批屏ESP1020A二次开发包sd
- C++调用海康工业相机SDK采集图像的简
- OPC UA C++写的服务器和客户端 linux下的
- OPC UA C++写的服务器和客户端 linux下的
- C++ 人脸识别程序 简单demo 基于虹软
- Intel SGX SDK for Windows 最新版本 v2.1.10
- 基于windows程序设计的视频播放器
- C++语音识别接口Microsoft Speech SDK简单清
- DICOM3DSDK-PACS 开发包
- basler相机的MFC框架demo
- 光学分选机缺陷检测(大华SDK抓取)
- 7z sdk的C++封装
- UE4下文本转语音(Microsoft Speech SDK)
评论
共有 条评论