Baumer相机Error Codes

Baumer Error Codes

取值

宏定义

含义

1

BGAPI_RESULT_OK

Operation OK.

2

BGAPI_RESULT_ALREADYDONE

The operation can not be called twice.

0

BGAPI_RESULT_FAIL

The operation failed. For detailed informations enable trace output.

-1

BGAPI_RESULT_FAIL_MEMORY

No memory allocated.The most frequent case for this error is, if the user does not set image memory, when the Image object was created with 'external_buffer' option. In this case the function getImage return this error (see functions Image::set, Image::get, System::createImage).

-2

BGAPI_RESULT_FAIL_INVALID_PARAM

The passed parameter is invalid. The most frequent case for this error is, when using the structures with prefix BGAPIX_. The member cbSize have to filled before using it (Only for C/C++ programmers). Second case: The byte order does not agree. Please check your compiler options which affect the byte order of structure.

-3

BGAPI_RESULT_NOT_SUPPORTED

The operation is not supported.

-4

BGAPI_RESULT_FAIL_NOBGAPIOBJECT

The BGAPI object is not valid.

-21

BGAPI_RESULT_SYSTEM_INVALID_ID

You passed an invalid System index to function createSystem.

-22

BGAPI_RESULT_SYSTEM_UNUSED

The System was not correctly created.

-23

BGAPI_RESULT_SYSTEM_NOTOPEN

Returned by all System functions, if the System::open function returned with error.

-24

BGAPI_RESULT_SYSTEM_NOTBOUND

Error in device module while creating a system. The device module was not bound to the bgapi System.

-25

BGAPI_RESULT_SYSTEM_FUNCTIONNOTAVAILABLE

Release and recreate the system to use this function again.

-26

BGAPI_RESULT_SYSTEM_NOTCREATE

System not created.

-30

BGAPI_RESULT_CAMERA_INVALID_ID

You passed an invalid Camera index to function createCamera.

-31

BGAPI_RESULT_CAMERA_UNUSEABLE

The Camera was not completley created. Wrong camera configuration, e.g. wrong ip configuration for GigE devices.

-34

BGAPI_RESULT_CAMERA_NOTBOUND

Error in device module while creating a camera. The device module was not bound to the bgapi Camera.

-36

BGAPI_RESULT_CAMERA_NOTCREATE

Returned by all Camera functions, if function createCamera returned with error.

-37

BGAPI_RESULT_CAMERA_NOTOPEN

Returned by all Camera functions, if function bgapi.Camera.open returned with error.

-38

BGAPI_RESULT_CAMERA_RUNNING

Returned by Camera object in queued data access mode, when trying to release an image object, while the camera is running. Please stop the camera first. See Camera.setStart function.

-39

BGAPI_RESULT_CAMERA_BUSY

Camera is busy.

-50

BGAPI_RESULT_FEATURE_NOTSUPPORTED

The feature is not supported by the bgapi object.

-51

BGAPI_RESULT_FEATURE_INVALID

Error while creating the feature tree.

-52

BGAPI_RESULT_FEATURE_NONEXT

No next feature available.

-53

BGAPI_RESULT_FEATURE_NOSUB

No sub feature available.

-54

BGAPI_RESULT_FEATURE_NOVALUE

Feature supports no value (see getValue).

-55

BGAPI_RESULT_FEATURE_NOTAVAILABLE

Feature is not available.

-56

BGAPI_RESULT_FEATURE_NOTIMPLEMENTED

Feature is not implemented.

-57

BGAPI_RESULT_FEATURE_FAIL

Low level error in device module.

-58

BGAPI_RESULT_FEATURE_LOCKED

Feature is locked.

-59

BGAPI_RESULT_FEATURE_REFRESH

The feature refreshing does not work correctly (getFeature).

-70

BGAPI_RESULT_VALUE_WRONGTYPE

You have used the wrong function. The value has an other type (see BGAPI_Type).

-72

BGAPI_RESULT_VALUE_MEMORY

No data memory was allocated.

-73

BGAPI_RESULT_VALUE_INEXISTENT

The value does not exist.

-100

BGAPI_RESULT_IMAGE_NOTBOUND

Error in image module while creating a image. The image module was not bound to the bgapi Image.

-101

BGAPI_RESULT_IMAGE_INUSE

The image object is assigned to a camera object. To deallocate use the function Camera.freeImage.

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值