Basler Camera SDK related questions collection and knowledge summary

1. The heartbeat time causes an error

This heartbeat is not another heartbeat. The camera heartbeat refers to setting a time to monitor the connection between the camera and the network card. If this time is exceeded, the camera will release the connection with the network card and enter a state that allows the camera to be connected again.
However, this method will cause the camera SDK to report an error, which is often displayed in use, and there is no available connection. How to solve it?
1. Wait. Not advisable
2. Power off or reconnect to the network.
3. Shorten this heartbeat time.

basler.SetHeartBeatTime(18000);
改为
basler.SetHeartBeatTime(1000);

2. Multi-programs to open the camera to prevent errors

You can only use one program to turn on the camera, just turn it off.

3. Introduction to GIGE interface and DHCP server

Refer to the following article
Introduction to GigE Vision
Baidu Introduction

4.API

1. PLCamera: Parameter list, similar to enumeration, contains the names of a group of parameters. Through it, the device parameters can be obtained and the parameter values ​​can be set.

//设置最小曝光时间。
minExposureTime = camera.Parameters[PLCamera.ExposureTimeRaw].GetMinimum()

2. PLGigECamera and PLUsbCamera
represent the parameter list of network port camera and USB3 camera respectively.
3.PixelDataConverter
class for converting image format

Guess you like

Origin blog.csdn.net/baidu_35536188/article/details/114528465